You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by OKADOME Junichi <to...@pe.hzs.co.jp> on 2004/10/04 10:37:32 UTC
svn cat fails copied entry
Hi all,
It seems like a bug.
svn cat -r <revision> URL fails copied (also moved) files.
To represent:
0.Confirm 'svn cat' success before copy.
%svn cat -r 5 file:///C:/tmp/svnrepos/src/a.txt
<snipped>
1.Make a copy of existent directory.
%svn copy file:///C:/tmp/svnrepos/src file:///C:/tmp/svnrepos/copied
Commited revision 10.
2.Do 'svn cat' specified '-r' with any older revision and copied path.
%svn cat -r 5 file:///C:/tmp/svnrepos/copied/a.txt
svn: File not found: revision 5, path '/copied/a.txt'
Confirmed version is from 1.0.6 to 1.1.0.
I think that the way of searching revision of 'svn cat' is different
from 'svn diff''s, because 'svn diff' works well.
Could you tell me it is a known issue or not.
Thanks,
OKADOME Junichi <to...@pe.hzs.co.jp>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: svn cat fails copied entry
Posted by OKADOME Junichi <to...@pe.hzs.co.jp>.
Ben Collins-Sussman <su...@collab.net> wrote:
> >
> > 2.Do 'svn cat' specified '-r' with any older revision and copied path.
> > %svn cat -r 5 file:///C:/tmp/svnrepos/copied/a.txt
> > svn: File not found: revision 5, path '/copied/a.txt'
>
> This will fail with svn 1.0.x clients. It should succeed with 1.1.x
> clients.
> It's one of the new "features" in svn 1.1 clients.
Does this relate to the 'Client follows renames' feature in 1.1.0's New
Major Features?
Surely, It works with working copy.
%svn cat -r5 a.txt
But does not work with URL to repos.
%svn cat -r5 file:///tmp/svnrepos/copied/a.txt
Arranged testing with '-r' and with older version (before copied):
cmd WC URL
-------------------------
cat OK NG
ls OK NG
diff OK OK
merge OK OK
log NG NG
copy NG NG
All should work right?
Thanks,
OKADOME Junichi
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: svn cat fails copied entry
Posted by Ben Collins-Sussman <su...@collab.net>.
On Oct 4, 2004, at 5:37 AM, OKADOME Junichi wrote:
>
> 2.Do 'svn cat' specified '-r' with any older revision and copied path.
> %svn cat -r 5 file:///C:/tmp/svnrepos/copied/a.txt
> svn: File not found: revision 5, path '/copied/a.txt'
This will fail with svn 1.0.x clients. It should succeed with 1.1.x
clients.
It's one of the new "features" in svn 1.1 clients.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org