Skip to content
  • Ryan Jackson's avatar
    Add helper scripts to make exporting to CVS easier · facfd08e
    Ryan Jackson authored
    - git-cvsexportcommit.mod is the same as the standard
      git-cvsexportcommit script, except it doesn't fail if you try applying
      a patch to the sandbox that has already been applied (i.e., you do a
      cvspush before the upstream git repo has been updated).
    
    - git-cvspush uses the above script to export each commit between the
      upstream branch head and your local branch head to CVS. To use it,
      run the following command inside your git repo:
    
      git config branch.<branch>.cvsdir <sandbox>
    
      where '<branch>' is your local git branch name and '<sandbox>' is
      the CVS sandbox where you've checked out that branch.  Set up an
      alias for it with this:
    
      git config --global alias.cvspush "!git-cvspush"
    
      and run 'git cvspush <branch>' (where '<branch>' is the branch to push
      or the current one if not specified) when you're ready to push pending
      commits to CVS.
    facfd08e