Skip to content

Commit a211e67

Browse files
committed
Merge branch 'ss/doc-svn'
* ss/doc-svn: remove noise and inaccuracies from git-svn docs
2 parents a588f93 + fd91d26 commit a211e67

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
@@ -784,10 +784,9 @@ use `git svn rebase` to update your work branch instead of `git pull` or
784784
when committing into SVN, which can lead to merge commits reversing
785785
previous commits in SVN.
786786

787-
DESIGN PHILOSOPHY
788-
-----------------
789-
Merge tracking in Subversion is lacking and doing branched development
790-
with Subversion can be cumbersome as a result. While 'git svn' can track
787+
MERGE TRACKING
788+
--------------
789+
While 'git svn' can track
791790
copy history (including branches and tags) for repositories adopting a
792791
standard layout, it cannot yet represent merge history that happened
793792
inside git back upstream to SVN users. Therefore it is advised that
@@ -797,16 +796,15 @@ compatibility with SVN (see the CAVEATS section below).
797796
CAVEATS
798797
-------
799798

800-
For the sake of simplicity and interoperating with a less-capable system
801-
(SVN), it is recommended that all 'git svn' users clone, fetch and dcommit
799+
For the sake of simplicity and interoperating with Subversion,
800+
it is recommended that all 'git svn' users clone, fetch and dcommit
802801
directly from the SVN server, and avoid all 'git clone'/'pull'/'merge'/'push'
803802
operations between git repositories and branches. The recommended
804803
method of exchanging code between git branches and users is
805804
'git format-patch' and 'git am', or just 'dcommit'ing to the SVN repository.
806805

807806
Running 'git merge' or 'git pull' is NOT recommended on a branch you
808-
plan to 'dcommit' from. Subversion does not represent merges in any
809-
reasonable or useful fashion; so users using Subversion cannot see any
807+
plan to 'dcommit' from because Subversion users cannot see any
810808
merges you've made. Furthermore, if you merge or pull from a git branch
811809
that is a mirror of an SVN branch, 'dcommit' may commit to the wrong
812810
branch.
@@ -856,7 +854,7 @@ Renamed and copied directories are not detected by git and hence not
856854
tracked when committing to SVN. I do not plan on adding support for
857855
this as it's quite difficult and time-consuming to get working for all
858856
the possible corner cases (git doesn't do it, either). Committing
859-
renamed and copied files are fully supported if they're similar enough
857+
renamed and copied files is fully supported if they're similar enough
860858
for git to detect them.
861859

862860
CONFIGURATION

0 commit comments

Comments
 (0)