You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Andy Buchanan <An...@artworks.co.uk> on 2003/07/30 11:57:25 UTC

Question on diff on "non-existant" files

Hi all, I'm wondering why I can't retrieve a log of diff on file versions
that don't exist in my branch.

 

e.g.

Say I branch at rev 125, if I do log on the whole directory maybe I see a
change I want to examine.

 

Revision 73: Added some change I'm interested in

Revision 72: Version prior to the change.

 

If I try to get a log or diff on these specific versions I get a 404 not
found error.

 

Maybe I'm mad but this seems like a reasonable request to me, having to go
locate the

actual real branch where the change was made and diff/log by URL seems a
little burden-some.

Okay it's not outrageous, but it's more typing :-)

 

What have I missed?

 

(BTW this is of course with the commandline "svn" on windows v0.25 )

 

Cheers,

Andy Buchanan

Senior Programmer

Computer Artworks

 


Re: Question on diff on "non-existant" files

Posted by Ben Collins-Sussman <su...@collab.net>.
Andy Buchanan <An...@artworks.co.uk> writes:

> Say I branch at rev 125, if I do log on the whole directory maybe I see a
> change I want to examine.
>
> Revision 73: Added some change I'm interested in
> 
> Revision 72: Version prior to the change.
>
> If I try to get a log or diff on these specific versions I get a 404 not
> found error.

(Btw, next time please post questions like this to the 'users' list.)

'svn log' operates on a URL.  If you don't specify a URL, it will just
use the URL of '.'

Therefore, when you run 'svn log -r73', you're specifying a set of
coordinates that don't exist:  (73, branchURL).  Instead, you need to
type 'svn log -r73 trunkURL'.


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