Skip to content

Commit dd49c2c

Browse files
committed
git-svn-synchronizer: do not re-try when we succeeded
In recent versions, git-svn's --stdlayout falls back to the non-default layout, so we do not have to re-try anymore in that case. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 0c45a33 commit dd49c2c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

git-svn-synchronizer.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ then
7878
# Try standard trunk/branches/tags setup first
7979
git svn init -s "$SVN_URL" &&
8080
git svn fetch &&
81-
git rev-parse refs/remotes/trunk || {
81+
git rev-parse refs/remotes/trunk ||
82+
git rev-parse refs/remotes/git-svn || {
8283
rm -rf .git/svn &&
8384
git config --remove-section svn-remote.svn &&
8485
git svn init "$SVN_URL" &&

0 commit comments

Comments
 (0)