Ingo Adler <dev@synacon.ch> wrote on 02/28/2005 03:59:08 PM:
> I have some troubles with remotely moved files/directories. The troubles
> show in different tools (TSVN and subclipse) but the reason is
subversion.
> I can't use svn cat on a older version of a moved file.
[snip]
>
> That's why I can't do a diff remotely with TSVN and can't check out a
> project with subclipse.
>
> A bug or a feature?
Regardless what you want to call it, it has been addressed in svn 1.2.
Prior to 1.1 only a handful of commands like "log" and "merge" followed
the history of an item in the repository. In 1.1 this functionality was
added to the majority of the commands using a new peg-revision syntax
where you indicate what revision you are starting with in the repository
for your trace. For whatever reasons, a handful of commands like cat were
left out. This has been rectified in 1.2.
In your example, you would want Subversion to look at the file you passed
it in the HEAD revision and follow the history of that item back to give
you the contents at r4. For URL's that is the default behavior, so you do
not even need to add the peg-revision syntax but if you did, it would look
something like this:
svn cat -r4 file:///s:/svnroot/repo/project1/dir2/subdir1/file1.txt_at_HEAD
Mark
_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 28 22:18:46 2005