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

Re: svn bug

From: Oswald Buddenhagen <ossi_at_kde.org>
Date: 2005-11-10 23:24:57 CET

On Thu, Nov 10, 2005 at 01:52:45PM -0800, Garrett Rooney wrote:
> On 11/10/05, Oswald Buddenhagen <ossi@kde.org> wrote:
> > i tried the following:
> >
> > svn ann http://cvs2svn.tigris.org/svn/cvs2svn/branches/may-04-redesign@1164
>
> Well, there are at least two problems here. First, you can't annotate
> a directory in Subversion, so just passing it the url for the
> may-04-redesign branch won't do much good.
>
heh, right. i'd have certainly noticed this once i've gotten the the
right revision ...

> Second, you're telling svn annotate to look at the HEAD revision of
> whatever lived at /branches/may-04-redesign in revision 1164, because
> the default if you don't pass a -r option is HEAD. That branch has
> been deleted though, so nothing is there in HEAD. What you want is
> something like:
>
> svn ann -r 1164
> http://cvs2svn.tigris.org/svn/cvs2svn/branches/may-04-redesign/cvs2svn.py@1164
>
> So it'll start its search at the version of cvs2svn.py that lived in
> that branch in rev 1164, and find the version that existed in revision
> 1164, which I imagine is what you wanted to see.
>
ehhhm ... right. after reading these paragraphs something like four times
i got it (ok, it's pretty late over here). :)
i think it would make sense to let the client do some guesswork in case
of failure and make a suggestion (like "use *both* -r and @, idiot!" ;) -
the "request failed" and "file not found" are not exactly helpful. oh,
well, who cares, given that there is something like 2.4 million pages to
RTFM. ;)

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 10 23:25:58 2005

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

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