Add 'git svn reset' to unwind 'git svn fetch'
commit195643f2fc80b4d06a75b954b9a8ef2300976755
authorBen Jackson <ben@ben.com>
Thu, 4 Jun 2009 03:45:52 +0000 (3 20:45 -0700)
committerEric Wong <normalperson@yhbt.net>
Thu, 25 Jun 2009 07:38:17 +0000 (25 00:38 -0700)
tree5adf9dd84ff8580e2ea9383d5073b471d3d05960
parentca5e880ec2172f33dd0113129775f6eb65f2f678
Add 'git svn reset' to unwind 'git svn fetch'

Add a command to unwind the effects of fetch by moving the rev_map
and refs/remotes/git-svn back to an old SVN revision.  This allows
revisions to be re-fetched.  Ideally SVN revs would be immutable,
but permissions changes in the SVN repository or indiscriminate use
of '--ignore-paths' can create situations where fetch cannot make
progress.

Signed-off-by: Ben Jackson <ben@ben.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
Documentation/git-svn.txt
git-svn.perl
t/t9139-git-svn-reset.sh [new file with mode: 0755]