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

RE: How to show history of a named path?

From: Bob Archer <Bob.Archer_at_infor.com>
Date: Fri, 1 May 2009 13:55:19 -0400

> If I delete a file, then create a new file with the same name, svn log
> will only show me the new file's history.

This is because the file is not an ancestor of the previous file.

> I know I can pass file_at_peg, but then I have to know the right peg
> revision. Plus I might not even know that there *was* a file with that
> name before the current one. Is there a way to show the history of
> anything that was ever at a given path?

There is the --ignore-ancestry switch on the merge command. But, I don't see it on the log command.

Perhaps you should delete your file from HEAD... and restore the original version and apply any changes to it.

I would say, don't delete a file and recreate it if they share ancestry.

I guess it's like the old joke...

Dr... my arm hurts when I move it like this. To which the Dr. says, "then don't move it like that."

BOb

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2017509

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-01 19:56:24 CEST

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.