hg add -X .* invokes: ... not under root
Robert Bauck Hamar
r.b.hamar at usit.uio.no
Sat Jul 11 11:42:29 UTC 2009
*david at davidwbrown.name:
>Hello Matt and Mercurial list, I have a curious situation with files on a remote repo. Attempts to issue the command: hg add -X .* (via SSH) returns the following condition:
>
>not under root.
>
>Please advise, David.
Never ever use '.*'. What happens is that '.*' expands to:
. ..
as the first two items, and .. is under the root of the repo. I'm really
just guessing that this is your problem. But: Is '..' also part of the
message?
--
Robert Bauck Hamar
USIT/SAPP/GT - Cerebrum
http://www.uio.no/sok?person=hamar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20090711/570bec39/attachment-0001.asc>
More information about the Mercurial
mailing list