[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn cat on moved revisions

From: Patrick Smears <patrick.smears_at_ensoft.co.uk>
Date: 2004-10-21 19:52:25 CEST

On Thu, 21 Oct 2004, Ben Collins-Sussman wrote:

>
> On Oct 20, 2004, at 6:27 PM, Ray Johnson wrote:
>
> >
> > Oh. Bummer for me I guess... I'm working on a tool that access the
> > repository through a URL, so the working copy thing doesn't work too
> > well for me.
> >
> > I gather there is no way to do this via just a URL? Kind of weird
> > (IMHO) that the command would work differently for a URL vs. a WC - but
> > I guess this would not be the only example of that...
> >
>
> Actually, I think we implemented something different than what we
> wanted.
>
> What we have now:
>
> * svn cmd -rX URL --> doesn't trace renames.
> * svn cmd -rX working-copy-path --> traces renames, using
> wc-path@BASE as start.
>
> What we *should* have:
>
> * svn cmd -rX URL --> traces renames, using URL@HEAD as start.
> * svn cmd -rX working-copy-path --> traces renames, using
> wc-path@BASE as start.
> * svn cmd URL@X --> doesn't trace renames.
>
> Maybe we should re-open issue 1093 to fix this.

Just for clarity (and my own understanding), trying to put what you've
said in another form:

What you're proposing we should have:

  * svn cmd -rX file@Y
      --> operates on the entity that, in revision Y is called 'file',
          where it appears in (earlier) revision X
  * svn cmd -rX file
      --> Y defaults to BASE for WC, or HEAD for URL
  * svn cmd file@Y
      --> X defaults to Y?

What we currently do have:

  * svn cmd -rX file@Y
      --> doesn't exist (at least for 'cat')
  * svn cmd -rX file
      --> Y defaults to BASE for WC, or X for URL
  * svn cmd file@Y
      --> doesn't exist (at least for 'cat')

Is this a fair summary of what you're proposing?

Patrick

-- 
The easy way to type accents in Windows: http://www.frkeys.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 21 19:53:08 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.