author | Ben Jackson <ben@ben.com> | |
Thu, 4 Jun 2009 03:45:52 +0000 (20:45 -0700) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Thu, 25 Jun 2009 07:38:17 +0000 (00:38 -0700) | ||
commit | 195643f2fc80b4d06a75b954b9a8ef2300976755 | |
tree | 5adf9dd84ff8580e2ea9383d5073b471d3d05960 | tree | snapshot |
parent | ca5e880ec2172f33dd0113129775f6eb65f2f678 | commit | diff |
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>
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 | diff | blob | history | |
git-svn.perl | diff | blob | history | |
t/t9139-git-svn-reset.sh | [new file with mode: 0755] | blob |