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

Re: Accessing history after copy?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-02-24 15:42:57 CET

Jim Paris wrote:
> The question: is this expected behavior? I thought Subversion was
> supposed to track history even when moving a directory around like
> that. It seems a little weird that "svn log" shows all of the old
> history but you can't actually access it directly with "cat" or
> "merge". Am I doing something wrong?

No, you're not doing anything wrong. This is one of the big annoyances
of subversion 1.0, a feature we haven't yet implemented. The repository
tracks copy/move history, but of all the client subcommands, only 'svn
log' can follow that history. Really, 'svn diff', 'svn merge', 'svn
cat/ls', and a whole bunch of other commands ought to follow history as
well.

The workaround for svn 1.0 is to use 'svn log' to discover the item's
history, then provide the proper (revision, URL) coordinates to the
subcommand you really want to run.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 24 15:43:33 2004

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.