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

Re: svn cat doesn't work on moved files

From: SteveKing <steveking_at_gmx.ch>
Date: 2003-03-27 20:56:12 CET

> It is a little complicated though, suppose things move around
>
> rev X: wc/foo
> wc/bar
>
> mv wc/foo wc/zig
> mv wc/bar wc/zag
> commit
>
> rev X+1: wc/zig
> wc/zag
>
> mv wc/zig wc/bar
> mv wc/zag wc/foo
> commit
>
> rev X+2: wc/foo
> wc/bar
>
> Now if I run 'svn cat -rX wc/foo' does it follow history through the
> moves to wc/bar in rev X or does it go straight to wc/foo in rev X?

I would expect it to go straight to wc/bar in rev X. The same as if
I do a checkout of rev X. I know that a checkout of a single file is
not possible in subversion, but svn cat should work like that.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 27 20:57:51 2003

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.