Bug: ignoring files
Jeff Sipek
jeffpc at optonline.net
Thu Aug 25 02:55:25 UTC 2005
If a file is ignored by .hgignore, you can't add it to the repo, which
in my opinion is a bug.
Running latest hg (9344f5dd4488).
Here's what happens, when I add '\.jpg$' to .hgignore:
$ hg init foo
$ cd foo/
$ ls -a
. .. .hg
$ vi .hgignore # added '\.jpg$'
$ hg status
? .hgignore
$ hg add .hgignore
$ hg commit
2 files to edit
$ touch foo.jpg
$ ls -l
total 0
-rw-r--r-- 1 jeffpc users 0 Aug 24 22:30 foo.jpg
$ hg status
$ hg add foo.jpg
$ hg status # no output
$
Jeff.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20050824/fbcf22dd/attachment-0001.asc>
More information about the Mercurial
mailing list