summaryrefslogtreecommitdiff
path: root/Documentation/git-svn.txt
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-08-07 09:06:16 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-08-08 20:16:47 (GMT)
commitba24e7457aa1f958370bbb67dfb97e3ec806fd4a (patch)
tree24931f4f653b44e8b9d7e90ce1166003f293498a /Documentation/git-svn.txt
parentb3bc97cba45e3b97243d31927fbf2343c21b6766 (diff)
downloadgit-ba24e7457aa1f958370bbb67dfb97e3ec806fd4a.zip
git-ba24e7457aa1f958370bbb67dfb97e3ec806fd4a.tar.gz
git-ba24e7457aa1f958370bbb67dfb97e3ec806fd4a.tar.bz2
git-svn: add ability to specify --commit-url for dcommit
This allows one to use public svn:// URLs for fetch and svn+ssh:// URLs for committing (without using the complicated rewriteRoot option, reimporting or git-filter-branch). Using this can also help avoid unnecessary server authentication/encryption overhead on busy SVN servers. Along with the new --revision option, this can also be allowed to override the branch detection in dcommit, too. This is potentially dangerous and not recommended! (And also purposely undocumented, but the loaded gun is there in case somebody wants to make it safe). Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-svn.txt')
-rw-r--r--Documentation/git-svn.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/git-svn.txt b/Documentation/git-svn.txt
index 773ae96..1e644ca 100644
--- a/Documentation/git-svn.txt
+++ b/Documentation/git-svn.txt
@@ -138,6 +138,15 @@ and have no uncommitted changes.
+
--no-rebase;;
After committing, do not rebase or reset.
+--commit-url <URL>;;
+ Commit to this SVN URL (the full path). This is intended to
+ allow existing git-svn repositories created with one transport
+ method (e.g. `svn://` or `http://` for anonymous read) to be
+ reused if a user is later given access to an alternate transport
+ method (e.g. `svn+ssh://` or `https://`) for commit.
+
+ Using this option for any other purpose (don't ask)
+ is very strongly discouraged.
--
'log'::