Skip to content

Commit 7eacaef

Browse files
committed
Merge branch 'ss/doc-svn' into maint
* ss/doc-svn: remove noise and inaccuracies from git-svn docs
2 parents 63c11eb + fd91d26 commit 7eacaef

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

Documentation/git-svn.txt

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -774,10 +774,9 @@ use `git svn rebase` to update your work branch instead of `git pull` or
774774
when committing into SVN, which can lead to merge commits reversing
775775
previous commits in SVN.
776776

777-
DESIGN PHILOSOPHY
778-
-----------------
779-
Merge tracking in Subversion is lacking and doing branched development
780-
with Subversion can be cumbersome as a result. While 'git svn' can track
777+
MERGE TRACKING
778+
--------------
779+
While 'git svn' can track
781780
copy history (including branches and tags) for repositories adopting a
782781
standard layout, it cannot yet represent merge history that happened
783782
inside git back upstream to SVN users. Therefore it is advised that
@@ -787,16 +786,15 @@ compatibility with SVN (see the CAVEATS section below).
787786
CAVEATS
788787
-------
789788

790-
For the sake of simplicity and interoperating with a less-capable system
791-
(SVN), it is recommended that all 'git svn' users clone, fetch and dcommit
789+
For the sake of simplicity and interoperating with Subversion,
790+
it is recommended that all 'git svn' users clone, fetch and dcommit
792791
directly from the SVN server, and avoid all 'git clone'/'pull'/'merge'/'push'
793792
operations between git repositories and branches. The recommended
794793
method of exchanging code between git branches and users is
795794
'git format-patch' and 'git am', or just 'dcommit'ing to the SVN repository.
796795

797796
Running 'git merge' or 'git pull' is NOT recommended on a branch you
798-
plan to 'dcommit' from. Subversion does not represent merges in any
799-
reasonable or useful fashion; so users using Subversion cannot see any
797+
plan to 'dcommit' from because Subversion users cannot see any
800798
merges you've made. Furthermore, if you merge or pull from a git branch
801799
that is a mirror of an SVN branch, 'dcommit' may commit to the wrong
802800
branch.
@@ -846,7 +844,7 @@ Renamed and copied directories are not detected by git and hence not
846844
tracked when committing to SVN. I do not plan on adding support for
847845
this as it's quite difficult and time-consuming to get working for all
848846
the possible corner cases (git doesn't do it, either). Committing
849-
renamed and copied files are fully supported if they're similar enough
847+
renamed and copied files is fully supported if they're similar enough
850848
for git to detect them.
851849

852850
CONFIGURATION

0 commit comments

Comments
 (0)