1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-06 01:03:02 +01:00
git/contrib/git-svn
Eric Wong 1d52aba839 contrib/git-svn: fix svn compat and fetch args
'svn info' doesn't work with URLs in svn <= 1.1.  Now we
only run svn info in local directories.

As a side effect, this should also work better for 'init' off
directories that are no longer in the latest revision of the
repository.

svn checkout -r<revision> arguments are fixed.
Newer versions of svn (1.2.x) seem to need URL@REV as well as
-rREV to checkout a particular revision...

Add an example in the manpage of how to track directory that has
been moved since its initial revision.

A huge thanks to Yann Dirson for the bug reporting and testing
my original patch.  Thanks also to Junio C Hamano for suggesting
a safer way to use git-rev-parse.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
2006-03-09 10:04:58 -08:00
..
t contrib/git-svn: use refs/remotes/git-svn instead of git-svn-HEAD 2006-03-02 00:01:36 -08:00
.gitignore contrib/git-svn: add Makefile, test, and associated ignores 2006-02-20 13:32:42 -08:00
git-svn.perl contrib/git-svn: fix svn compat and fetch args 2006-03-09 10:04:58 -08:00
git-svn.txt contrib/git-svn: fix svn compat and fetch args 2006-03-09 10:04:58 -08:00
Makefile contrib/git-svn: add Makefile, test, and associated ignores 2006-02-20 13:32:42 -08:00