You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Michael Sperber <sp...@informatik.uni-tuebingen.de> on 2007/08/07 07:49:12 UTC

Problems looking at the history of deleted branches

I sometimes need to look at the history of deleted branches---if
possible, the *complete* history of a deleted branch.  (Specifically, I
need software to look at it so I can do repository conversion.)  This
always causes me pain, possibly because I don't know how to operate
Subversion properly.

svn log <branch URL>

... doesn't work, of course, as the branch is dead.

svn log <branch URL> -r<some rev within branch>

... also doesn't work, as the path isn't in the HEAD.

svn log <branch URL>@<some rev within branch> -r<some rev within branch>

... works, but doesn't give me all of what I want.

svn log <branch URL>@<some rev within branch> -r1:<some rev within branch>

... works, even if the branch didn't exist within rev 1.

svn log <branch URL>@<some rev within branch> -r1:HEAD

... fails again.  I was hoping specifying a peg revision would change
the meaning of HEAD, but that doesn't seem to be the case.

Even just a command that would let me figure out the last revision at
which the branch existed would be helpful.  Right now, I'm basically
doing a binary search to figure it out.

Any help would be much appreciated!

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Problems looking at the history of deleted branches

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Aug 7, 2007, at 02:49, Michael Sperber wrote:

> I sometimes need to look at the history of deleted branches---if
> possible, the *complete* history of a deleted branch.   
> (Specifically, I
> need software to look at it so I can do repository conversion.)  This
> always causes me pain, possibly because I don't know how to operate
> Subversion properly.
>
> svn log <branch URL>
>
> ... doesn't work, of course, as the branch is dead.
>
> svn log <branch URL> -r<some rev within branch>
>
> ... also doesn't work, as the path isn't in the HEAD.
>
> svn log <branch URL>@<some rev within branch> -r<some rev within  
> branch>
>
> ... works, but doesn't give me all of what I want.
>
> svn log <branch URL>@<some rev within branch> -r1:<some rev within  
> branch>
>
> ... works, even if the branch didn't exist within rev 1.
>
> svn log <branch URL>@<some rev within branch> -r1:HEAD
>
> ... fails again.  I was hoping specifying a peg revision would change
> the meaning of HEAD, but that doesn't seem to be the case.

Intuitively, I would have thought that last command would work. How  
does it fail? What is the error message? What client and server  
version of Subversion are you using, and on what client and server OS?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org