@matheusbsbs / matheus-bagliano / commits / fd91d260f2
Fork 0

remove noise and inaccuracies from git-svn docs

Signed-off-by: Stefan Sperling <stsp@stsp.name> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Stefan Sperling committed Apr 19, 2011 at 11:06 UTC fd91d260f2b1aeface2369a758d5b6a142bd9691
1 file changed +7 -9
Documentation/git-svn.txt
+7 -9
@@ -764,10 +764,9 @@ use `git svn rebase` to update your work branch instead of `git pull` or
764 when committing into SVN, which can lead to merge commits reversing
765 previous commits in SVN.
766
767 -DESIGN PHILOSOPHY
768 ------------------
769 -Merge tracking in Subversion is lacking and doing branched development
770 -with Subversion can be cumbersome as a result. While 'git svn' can track
767 +MERGE TRACKING
768 +--------------
769 +While 'git svn' can track
770 copy history (including branches and tags) for repositories adopting a
771 standard layout, it cannot yet represent merge history that happened
772 inside git back upstream to SVN users. Therefore it is advised that
@@ -777,16 +776,15 @@ compatibility with SVN (see the CAVEATS section below).
776 CAVEATS
777 -------
778
780 -For the sake of simplicity and interoperating with a less-capable system
781 -(SVN), it is recommended that all 'git svn' users clone, fetch and dcommit
779 +For the sake of simplicity and interoperating with Subversion,
780 +it is recommended that all 'git svn' users clone, fetch and dcommit
781 directly from the SVN server, and avoid all 'git clone'/'pull'/'merge'/'push'
782 operations between git repositories and branches. The recommended
783 method of exchanging code between git branches and users is
784 'git format-patch' and 'git am', or just 'dcommit'ing to the SVN repository.
785
786 Running 'git merge' or 'git pull' is NOT recommended on a branch you
788 -plan to 'dcommit' from. Subversion does not represent merges in any
789 -reasonable or useful fashion; so users using Subversion cannot see any
787 +plan to 'dcommit' from because Subversion users cannot see any
788 merges you've made. Furthermore, if you merge or pull from a git branch
789 that is a mirror of an SVN branch, 'dcommit' may commit to the wrong
790 branch.
@@ -836,7 +834,7 @@ Renamed and copied directories are not detected by git and hence not
834 tracked when committing to SVN. I do not plan on adding support for
835 this as it's quite difficult and time-consuming to get working for all
836 the possible corner cases (git doesn't do it, either). Committing
839 -renamed and copied files are fully supported if they're similar enough
837 +renamed and copied files is fully supported if they're similar enough
838 for git to detect them.
839
840 CONFIGURATION