Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/t/t9153-git-svn-rewrite-uuid.sh # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / t / t9153-git-svn-rewrite-uuid.sh` 25 lines ยท 605 bytes Raw Blame History 1 #!/bin/sh 2 # 3 # Copyright (c) 2010 Jay Soffian 4 # 5 6 test_description='git svn --rewrite-uuid test' 7 8 . ./lib-git-svn.sh 9 10 uuid=`6cc8ada4`-5932-4b4a-8242-`3534ed8a3232` 11 12 test_expect_success 'load svn repo' " 13 svnadmin load -q '$rawsvnrepo' < '$TEST_DIRECTORY/t9153/svn.dump' && 14 git svn init --minimize-url --rewrite-uuid='$uuid' '$svnrepo' && 15 git svn fetch 16 " 17 18 test_expect_success 'verify uuid' " 19 git cat-file commit refs/remotes/git-svn~0 >actual && 20 test_grep '^git-svn-id: .*@2 $uuid$' actual && 21 git cat-file commit refs/remotes/git-svn~1 >actual && 22 test_grep '^git-svn-id: .*@1 $uuid$' actual 23 " 24 25 test_done