Olivier Galibert writes:
On Sun, Dec 23, 2007 at 08:29:10AM +0900, Stephen J. Turnbull wrote:
> You're not. I did "hg rename", but that's just an add-delete
pair
> according to the docs, and as you see "hg commit" treats it that way.
> (Why is it that none of the SCMs -- except Darcs -- get this right?)
You meant "except git" there, right ? ;-)
Last I checked, wrong. Has that changed? Hm ... not unless it's
*very* recent:
chibi:tmp steve$ mkdir test
chibi:tmp steve$ cd test
chibi:tmp steve$ git init
Initialized empty Git repository in .git/
chibi:tmp steve$ touch A
chibi:tmp steve$ git add A
chibi:tmp steve$ git commit -m "Add A."
Created initial commit a709269: Add A.
0 files changed, 0 insertions(+), 0 deletions(-)
create mode 100644 A
chibi:tmp steve$ git mv A B
chibi:tmp steve$ git commit -m "Rename A to B." B
Created commit d8c62fa: Rename A to B.
0 files changed, 0 insertions(+), 0 deletions(-)
create mode 100644 B
chibi:tmp steve$ git status
# On branch master
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# deleted: A
chibi:tmp steve$ git version
git version 1.5.3.7
chibi:tmp steve$
For reasons I don't understand yet I'm much less likely to make this
kind of mistake with git, I admit.
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches