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

Re: Log entry of a deleted file

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-07-06 15:10:52 CEST

On Jul 6, 2005, at 2:48 AM, Marco Mans wrote:

> Hi!
>
> Today I deleted a file in my working copy and did a commit (=rev
> 41). After a while
> I realized that I needed this file. So I did 'svn copy -r 40 http://
> blablalba/myfile ./myfile',
> and commited again (now rev. 42). When I now look at the log-
> history of this file I see
> something like this:
>
> ----------------------------------------------------------------------
> --
> r42 | aschoenmakers | 2005-07-06 09:23:23 +0200 (Wed, 06 Jul 2005)
> | 2 lines
> myFile re-added cause I needed it
> ----------------------------------------------------------------------
> --
> r39 | aschoenmakers | 2005-07-04 08:47:11 +0200 (Mon, 04 Jul 2005)
> | 7 lines
> myFile initialy added
> ----------------------------------------------------------------------
> -
>
> Why can't I see an entry for revision 41 where I deleted the file???

Because r41 isn't a change to the file, it's a change to its parent.

If you ask for the history of just the file itself, you'll see all
edits, back to the point where the file was copied. Then the copy
action will be 'traversed' back to r39, which is the history of the
original file the copy was made from.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 6 15:14:26 2005

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.