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

Re: svn log 'status'

From: Emmanuel Blot <manu.blot_at_gmail.com>
Date: 2006-02-14 17:38:53 CET

Sorry to get back on this subject, but I still do not understand when
(i.e. in which cases) SVN uses the "replaced" status for a file.

For example:

I'm using a regular repository structure, with /trunk and /branches

In one subdirectory of /branches/a, I've created a new directory which
contained a new file, then commited the change to the repository. Both
the new dir and the file appeared with the 'A' (added) status.

Then, I merge this new revision to the trunk. The directory has been
copied (from the branch to the trunk) and scheduled for Addition, but
the new file has been copied and scheduled as "Replaced".

$ svn log -v -r 284 http://server/svn/project
------------------------------------------------------------------------
r284 | blote | 2006-02-13 21:01:36 +0100 (Mon, 13 Feb 2006) | 1 line
Changed paths:
   A /branches/a/base/test/host
   A /branches/a/base/test/host/yuv2bmp.cpp

$ svn log -v -r 285 http://server/svn/project
------------------------------------------------------------------------
r285 | blote | 2006-02-13 21:13:29 +0100 (Mon, 13 Feb 2006) | 1 line
   A /trunk/base/test/host (from /branches/a/base/test/host:284)
   R /trunk/base/test/host/yuv2bmp.cpp (from
/branches/a/base/test/host/yuv2bmp.cpp:284)

/trunk/base/test did not contain a 'host' directory @284.
What does trigger the "replace" status ?

TIA,
Manu

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 14 17:42:11 2006

This is an archived mail posted to the Subversion Users mailing list.