Skip to content

Commit d32b06b

Browse files
author
Jared Murrell
committed
added logic for clean cutover
1 parent 059b793 commit d32b06b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

svn2github.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,14 @@ then
1919
else
2020
_get_svn_layout
2121
fi
22-
_git_svn_clone
22+
## Perform a clean cutover or migrate history
23+
if [[ ${MIGRATE_HISTORY} ]]
24+
then
25+
_git_svn_clone
26+
else
27+
_clean_cutover
28+
fi
29+
## Migrate trunk, branches, tags, submodules
2330
(
2431
cd ${REPO_NAME}
2532
git config http.sslVerify false

0 commit comments

Comments
 (0)