On 2007-06-11 15:55, Mike Kupfer <[EMAIL PROTECTED]> wrote:
> >>>>> "Bill" == Bill Sommerfeld <[EMAIL PROTECTED]> writes:
> Bill> what shows up in "hg log" of the new name after a rename?
>
> Current behavior: it depends on the options that are used and whether
> you name the file. [...]
>
>     athyra$ hg log -f bar
>     changeset:   1:bdb9ecb3876d
>     tag:         tip
>     user:        [EMAIL PROTECTED]
>     date:        Mon Jun 11 15:39:52 2007 -0700
>     summary:     rename foo -> bar
>
>     changeset:   0:c6f6663be52f
>     user:        [EMAIL PROTECTED]
>     date:        Mon Jun 11 15:39:18 2007 -0700
>     summary:     add foo to repo
>
> I guess this is okay.  It'd be nice if the "hg log bar" output gave an
> indication that there's more that could be seen with -f.  And IIRC,
> there are situations where it does provide a hint like that.  Maybe it
> should provide that hint in all cases...?

FWIW, there is information about the renames (i.e. the list of source
files, and their destination after the rename operation) when one runs:

        hg --debug log -f bar

A sample repository with two renames happening in one commit shows:

% changeset:   1:5725e9bf3947c7fba3f698294ee8bae7de4a741c
% tag:         tip
% parent:      0:c82badc1414a182cc743dcb67b60988cb94452d5
% parent:      -1:0000000000000000000000000000000000000000
% manifest:    1:cc1560cf0bdf23cfc5411f915289b0b0bc19e434
% user:        keramida
% date:        Wed Jun 13 03:14:38 2007 +0300
% files+:      bar bar2
% files-:      foo foo2
% extra:       branch=default
% description:
% rename foo{,2} -> bar{,2}
%
%
% changeset:   0:c82badc1414a182cc743dcb67b60988cb94452d5
% parent:      -1:0000000000000000000000000000000000000000
% parent:      -1:0000000000000000000000000000000000000000
% manifest:    0:11a7f1e3ce3ed33834eb232ec74e31df0ff8f481
% user:        keramida
% date:        Wed Jun 13 03:14:10 2007 +0300
% files+:      foo foo2
% extra:       branch=default
% description:
% add foo and foo2

_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org

Reply via email to