You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Emmanuel Blot <ma...@gmail.com> on 2006/02/07 20:11:32 UTC

svn log 'status'

Hi,

Is there a formal definition somewhere about the various 'status'
characters that "svn log -v" prints out ? (I mean, something more
detailled than what is provided with the --help option switch).

For example, I'm wondering what the "R" (replaced) status exactly
means, or what triggers such a condition.

Thanks in advance,
Manu

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: svn log 'status'

Posted by Emmanuel Blot <ma...@gmail.com>.
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


Re: svn log 'status'

Posted by Emmanuel Blot <ma...@gmail.com>.
Thanks a lot, I missed this one.

I think it would be worth to add a link from the "svn log"
documentation (chapter 9.)

> There is a section in the svn book[1] that explains all the status
> Symbols. A recommended read.
>
>  1.
> http://svnbook.red-bean.com/nightly/en/svn.tour.cycle.html#svn.tour.cycle.examine.status

--
Manu

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: svn log 'status'

Posted by Lares Moreau <la...@gmail.com>.
On Tue, 2006-02-07 at 21:11 +0100, Emmanuel Blot wrote:
> Hi,
> 
> Is there a formal definition somewhere about the various 'status'
> characters that "svn log -v" prints out ? (I mean, something more
> detailled than what is provided with the --help option switch).
> 
> For example, I'm wondering what the "R" (replaced) status exactly
> means, or what triggers such a condition.

There is a section in the svn book[1] that explains all the status
Symbols. A recommended read.

 1.
http://svnbook.red-bean.com/nightly/en/svn.tour.cycle.html#svn.tour.cycle.examine.status


-- 
Lares Moreau <la...@gmail.com>  | LRU: 400755 http://counter.li.org
lares/irc.freenode.net                 |               ::0 Alberta, Canada
Public Key: 0D46BB6E @ subkeys.pgp.net |          Encrypted Mail Preferred
Key fingerprint = 0CA3 E40D F897 7709 3628  C5D4 7D94 483E 0D46 BB6E