Code

t9118: avoid PEG revision identifier in tests
authorMichael J Gruber <git@drmicha.warpmail.net>
Thu, 8 Jul 2010 19:16:35 +0000 (21:16 +0200)
committerEric Wong <normalperson@yhbt.net>
Thu, 8 Jul 2010 20:35:42 +0000 (20:35 +0000)
@ is SVN's identifier for PEG revisions. But SVN's treatment of PEG
identifiers in copy target URLs changed in r954995/r952973, i.e. between
1.6.11 and 1.6.12. They get eaten now (which is considered the right
way).

Therefore, avoid the @ in the tests with funky branch names.

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Acked-by: Eric Wong <normalperson@yhbt.net>
t/t9118-git-svn-funky-branch-names.sh

index 7d7acc30b4a64ba97afe06e03c65ebca4ca7f242..45d5b2dd5c9a6ecdeb3f5db4e349fef66b884516 100755 (executable)
@@ -28,7 +28,7 @@ test_expect_success 'setup svnrepo' '
        svn_cmd cp -m "trailing .lock" "$svnrepo/pr ject/trunk" \
                        "$svnrepo/pr ject/branches/trailing_dotlock.lock" &&
        svn_cmd cp -m "reflog" "$svnrepo/pr ject/trunk" \
-                       "$svnrepo/pr ject/branches/not-a@{0}reflog" &&
+                       "$svnrepo/pr ject/branches/not-a%40{0}reflog" &&
        start_httpd
        '