[issue107] add/addremove: -I & -X options do not accept relative path in subdir

TK Soh mercurial-bugs at selenic.com
Thu Jan 19 00:36:39 UTC 2006


New submission from TK Soh <teekaysoh at yahoo.com>:

The -I and -X options don't seem to accept relative paths when doing 'hg add' or
'hg addremove' from within a [non-hg-root] sub-directory.

--- Bryan O'Sullivan <bos at serpentine.com> wrote:
> On Wed, 2006-01-18 at 04:32 -0800, TK Soh wrote:
> 
> > then try to add the files from inside source/, but would 
> > like to ignore the CVS directory:
> > 
> >     $ cd source/
> >     $ hg add -X CVS .
> >     adding CVS/Entries
> >     adding CVS/Repository
> >     adding CVS/Root
> >     adding main.c
> 
> This looks like a regression.  What you're trying to do ought to work;
> that's how I originally wrote that code.
> 
> Please file a bug.

----------
messages: 393
nosy: tksoh
priority: bug
status: unread
title: add/addremove: -I & -X options do not accept relative path in subdir

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue107>
____________________________________________________




More information about the Mercurial mailing list