From: Sam Vilain <sam@vilain.net>
To: Eric Wong <normalperson@yhbt.net>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] git-svn: handle changed svn command-line syntax
Date: Fri, 21 Sep 2007 15:15:00 +1200 [thread overview]
Message-ID: <46F33734.3080408@vilain.net> (raw)
In-Reply-To: <11903401552164-git-send-email-sam.vilain@catalyst.net.nz>
Sam Vilain wrote:
> Previously, if you passed a revision and a path to svn, it meant to look
> back at that revision and select that path. New behaviour is to get the
> path then go back to the revision. The old syntax is selected with new
> syntax PATH@REV. This new syntax is not supported by the old tools, so we
> have to try both in turn.
Blast, this analysis is wrong. Hold off, I'll see what's really going
on and re-submit.
Sam.
>
> Signed-off-by: Sam Vilain <sam.vilain@catalyst.net.nz>
> ---
> t/t9104-git-svn-follow-parent.sh | 6 ++++--
> 1 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/t/t9104-git-svn-follow-parent.sh b/t/t9104-git-svn-follow-parent.sh
> index 9eab945..7ba7630 100755
> --- a/t/t9104-git-svn-follow-parent.sh
> +++ b/t/t9104-git-svn-follow-parent.sh
> @@ -51,8 +51,10 @@ test_expect_success 'init and fetch from one svn-remote' "
> "
>
> test_expect_success 'follow deleted parent' "
> - svn cp -m 'resurrecting trunk as junk' \
> - -r2 $svnrepo/trunk $svnrepo/junk &&
> + (svn cp -m 'resurrecting trunk as junk' \
> + $svnrepo/trunk@2 $svnrepo/junk ||
> + svn cp -m 'resurrecting trunk as junk' \
> + -r2 $svnrepo/trunk $svnrepo/junk) &&
> git config --add svn-remote.svn.fetch \
> junk:refs/remotes/svn/junk &&
> git-svn fetch -i svn/thunk &&
next prev parent reply other threads:[~2007-09-21 3:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-21 2:02 [PATCH 0/3] git-svn: pass tests on svn trunk Sam Vilain
2007-09-21 2:02 ` [PATCH] git-svn: fix test for trunk svn (commit message not needed) Sam Vilain
2007-09-21 2:02 ` [PATCH] git-svn: fix test for trunk svn (transaction out of date) Sam Vilain
2007-09-21 2:02 ` [PATCH] git-svn: handle changed svn command-line syntax Sam Vilain
2007-09-21 3:15 ` Sam Vilain [this message]
2007-09-21 3:27 ` Sam Vilain
2007-09-21 8:23 ` Eric Wong
2007-09-22 9:06 ` Karl Hasselström
2007-09-21 8:27 ` [PATCH 0/3] git-svn: pass tests on svn trunk Eric Wong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46F33734.3080408@vilain.net \
--to=sam@vilain.net \
--cc=git@vger.kernel.org \
--cc=normalperson@yhbt.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).