hg copy in subdirectory
George Garvey
tmwg-hg at inxservices.com
Fri Jul 1 00:08:38 CDT 2005
Two subdirectories down from the top of the working copy, mv a file
and then use hg copy to say what has been done. Results in an error
message. Move back to the top of the working copy, give full
pathnames, appears to work. (Haven't committed yet.)
I don't know if this is a bug, but it wasn't what was expected.
As a side note: this is the implementation of rename support in hg,
I hope? It doesn't seem to do what I expect. A diff show main.h being
removed, and Telephone.h being added. I was expecting to link the
names so that updates to main.h would continue to be applied to
Telephone.h.
/home/tmwg/src/X11/devel/iaxclient/simpleclient/iaxcomm
% mv main.h Telephone.h
/home/tmwg/src/X11/devel/iaxclient/simpleclient/iaxcomm
% hg copy main.h Telephone.h
simpleclient/iaxcomm/Telephone.h does not exist!
/home/tmwg/src/X11/devel/iaxclient/simpleclient/iaxcomm
% v Telephone.h
-rw-r----- 1 tmwg inX 2759 Jun 30 21:12 Telephone.h
/home/tmwg/src/X11/devel/iaxclient/simpleclient/iaxcomm
% r hg
hg copy main.h Telephone.h
simpleclient/iaxcomm/Telephone.h does not exist!
/home/tmwg/src/X11/devel/iaxclient/simpleclient/iaxcomm
% cd ../..
/home/tmwg/src/X11/devel/iaxclient
% hg copy simpleclient/iaxcomm/main.h simpleclient/iaxcomm/Telephone.h
/home/tmwg/src/X11/devel/iaxclient
% cd -
~/src/X11/devel/iaxclient/simpleclient/iaxcomm
/home/tmwg/src/X11/devel/iaxclient/simpleclient/iaxcomm
% hg status
C simpleclient/iaxcomm/Makefile
C simpleclient/iaxcomm/app.h
C simpleclient/iaxcomm/calls.cc
C simpleclient/iaxcomm/frame.cc
C simpleclient/iaxcomm/main.cc
A simpleclient/iaxcomm/ConfigFile.h
A simpleclient/iaxcomm/inXException.h
A simpleclient/iaxcomm/inXException.cc
A simpleclient/iaxcomm/makefile
A simpleclient/iaxcomm/ConfigFile.cc
A simpleclient/iaxcomm/Telephone.h
R simpleclient/iaxcomm/main.h
More information about the Mercurial
mailing list