git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] t9118: avoid PEG revision identifier in tests

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Jul 8, 2010, 19:16 UTC
Message-ID
<2f9f1bd8efb818456fcc386f419fc17f4e435e19.1278616418.git.git@drmicha.warpmail.net>
In-Reply-To
<4C361EB5.7010704@drmicha.warpmail.net>

@ 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>
---
This version is tested with svn 1.6.9 and 1.6.12.
 t/t9118-git-svn-funky-branch-names.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/t/t9118-git-svn-funky-branch-names.sh b/t/t9118-git-svn-funky-branch-names.sh
index 7d7acc3..45d5b2d 100755
--- a/t/t9118-git-svn-funky-branch-names.sh
+++ b/t/t9118-git-svn-funky-branch-names.sh
@@ -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
 	'
 
-- 
1.7.2.rc1.212.g850a
Previous: Michael J GruberNext: A Large Angry SCM
Message 7 of 9 in “git-svn: mangle refnames forbidden in git”
  1. git-svn: mangle refnames forbidden in gitTorsten Schmutzler, May 6, 2010
  2. Eric WongMay 9, 2010
  3. Jonathan NiederJul 8, 2010
  4. Eric WongJul 8, 2010
  5. Jonathan NiederJul 8, 2010
  6. Michael J GruberJul 8, 2010
  7. t9118: avoid PEG revision identifier in testsMichael J Gruber, Jul 8, 2010
  8. A Large Angry SCMJul 8, 2010
  9. Eric WongJul 8, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.