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

Re: svn info on deleted branch

From: Andy Levy <andy.levy_at_gmail.com>
Date: Mon, 28 Jan 2008 08:56:30 -0500

On Jan 28, 2008 8:39 AM, Adrián P. Eidelman <adrianenlared_at_gmail.com> wrote:
> I have just confirmed that problem is that the Dir was deleted. Copying it
> back in the repo from the last version before deletion, made the info
> command work properly. I think this should be treated as a bug.
> Thanks,
> Adrián

I don't think this is a bug. You need to use a peg revision to get
history on the deleted directory, in addition to the operative
revision. See http://svnbook.red-bean.com/en/1.4/svn.advanced.pegrevs.html

> On Jan 28, 2008 10:27 AM, Adrián P. Eidelman <adrianenlared_at_gmail.com>
> wrote:
> >
> > Hi,
> > I have found a little problem today using subversion and wanted to see if
> it was a bug or if I am doing something wrong.
> > I am trying to get the info about a dir that has been deleted from the
> repo but svn info throws an error.
> > The command I am using is:
> > svn info -r 900 --xml "file:///PATH_TO_DIR"
> >
> > This dir was created in revision 889 and was deleted in version 919, I
> think I should be able to retrieve the info it had on revision 900 with the
> previous command.
> > Instead I get the error: "svn: File not found: revision 922, path
> "RELATIVE_PATH_TO_DIR" ". 922 is the head revision in my repo. (the error
> message may not be literally it because I am translating it from Spanish).
> What I infer from the error is that it is not taking into account the
> revision argument I'm sending and instead is trying to fetch it from HEAD.
> >
> > Please, any help would be really appreciated.
> > Adrian
> >
> > P.S.: the PATH_TO_DIR is correct, because using tortoise with a copy paste
> and setting the right revision number (900) I can see it perfectly
> > P.S.2: I am using svn versión 1.4.4 for Windows

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-28 14:56:53 CET

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.