svn cat improperly described in svn-book ?
From: Arthur Kowalczyk <arthur_kowalczyk_at_yahoo.co.uk>
Date: 2007-09-12 11:09:09 CEST
Hi,
IMHO there is a wrong/misleading description of "svn cat" command in
I refer to text from bottom of page # 208 from "svn-book.pdf" SVN 1.5
"If your working copy is out of date (or you have local
$ cat foo.c
I do not agree that this particular 'svn cat foo.c' displays HEAD
Let me prove it:
my test repo : svn://localhost/abc
My test repo rev 122 is empty.
C:\test>svn import ./foo.c svn://localhost/abc/foo.c -m "test"
Committed revision 123.
I delete my local file and check out
C:\test>del foo.c
C:\test>svn checkout svn://localhost/abc
Now I change my local copy of foo.c:
C:\test>echo this is changed foo.c > ./abc/foo.c
C:\test>cat abc/foo.c
Let's say that sb has created in my repo revision 124 by commiting foo.c
C:\test>cd abc
C:\test\abc>svn cat foo.c
So "svn cat foo.c" will not print HEAD revision - it does not even
C:\test\abc>svn cat foo.c@HEAD
Correct me if I am wrong as I started to learn SVN a week ago.
regards,
---------------------------------------------------------------------
|
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.