diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2008-09-30 14:14:09 -0700 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2008-09-30 14:14:09 -0700 |
commit | 8b745e3ffdabe6ef110dc064af46b0ba993941e0 (patch) | |
tree | 2f69364c76e4dc0b7cf265ccf93273734b9ccd74 | |
parent | 416f80a60b209d2ca0326407b801e9fb6ed8fdd7 (diff) | |
parent | 0a1a1c8615ec0049d2d7fcd849cfddd978170752 (diff) | |
download | git-8b745e3ffdabe6ef110dc064af46b0ba993941e0.tar.gz git-8b745e3ffdabe6ef110dc064af46b0ba993941e0.tar.xz |
Merge branch 'maint'
* maint:
git-svn: call 'fatal' correctly in set-tree
Replace svn.foo.org with svn.example.com in git-svn docs (RFC 2606)
t0024: add executable permission
-rw-r--r-- | Documentation/git-svn.txt | 8 | ||||
-rwxr-xr-x | git-svn.perl | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | t/t0024-crlf-archive.sh | 0 |
3 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/git-svn.txt b/Documentation/git-svn.txt index 1e644ca6d..82d03b4ce 100644 --- a/Documentation/git-svn.txt +++ b/Documentation/git-svn.txt @@ -473,7 +473,7 @@ Tracking and contributing to the trunk of a Subversion-managed project: ------------------------------------------------------------------------ # Clone a repo (like git clone): - git svn clone http://svn.foo.org/project/trunk + git svn clone http://svn.example.com/project/trunk # Enter the newly cloned directory: cd trunk # You should be on master branch, double-check with git-branch @@ -495,7 +495,7 @@ Tracking and contributing to an entire Subversion-managed project ------------------------------------------------------------------------ # Clone a repo (like git clone): - git svn clone http://svn.foo.org/project -T trunk -b branches -t tags + git svn clone http://svn.example.com/project -T trunk -b branches -t tags # View all branches and tags you have cloned: git branch -r # Reset your master to trunk (or any other branch, replacing 'trunk' @@ -514,7 +514,7 @@ have each person clone that repository with 'git-clone': ------------------------------------------------------------------------ # Do the initial import on a server - ssh server "cd /pub && git svn clone http://svn.foo.org/project + ssh server "cd /pub && git svn clone http://svn.example.com/project # Clone locally - make sure the refs/remotes/ space matches the server mkdir project cd project @@ -523,7 +523,7 @@ have each person clone that repository with 'git-clone': git config --add remote.origin.fetch '+refs/remotes/*:refs/remotes/*' git fetch # Initialize git-svn locally (be sure to use the same URL and -T/-b/-t options as were used on server) - git svn init http://svn.foo.org/project + git svn init http://svn.example.com/project # Pull the latest changes from Subversion git svn rebase ------------------------------------------------------------------------ diff --git a/git-svn.perl b/git-svn.perl index 80a572837..7609a8374 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -2591,7 +2591,7 @@ sub set_tree { my ($self, $tree) = (shift, shift); my $log_entry = ::get_commit_entry($tree); unless ($self->{last_rev}) { - fatal("Must have an existing revision to commit"); + ::fatal("Must have an existing revision to commit"); } my %ed_opts = ( r => $self->{last_rev}, log => $log_entry->{log}, diff --git a/t/t0024-crlf-archive.sh b/t/t0024-crlf-archive.sh index e5330395f..e5330395f 100644..100755 --- a/t/t0024-crlf-archive.sh +++ b/t/t0024-crlf-archive.sh |