This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 222172 - ability to modify .hgignore with regexp syntax
Summary: ability to modify .hgignore with regexp syntax
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-15 08:39 UTC by medeag
Modified: 2012-11-15 10:23 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
screenshot (25.59 KB, image/png)
2012-11-15 09:31 UTC, medeag
Details

Note You need to log in before you can comment on or make changes to this bug.
Description medeag 2012-11-15 08:39:33 UTC
It will be nice if user has capability add file to .hgignore from properties menu, i.e. mercurial->add to .hgignore
Comment 1 Ondrej Vrabec 2012-11-15 08:50:51 UTC
What is wrong with the current state?
1) Select unversioned file
2) From its popup menu select Mercurial -> Toggle Ignore ???
Comment 2 medeag 2012-11-15 09:31:24 UTC
Created attachment 127838 [details]
screenshot

sorry didn't realize that they were the same :)

but still this arise the questions:
in .hgignore i have something like:

syntax: regexp
^\.classpath$
syntax: regexp
^src/main/resources/configuration\.properties$
\.orig\..*$
\.orig$
\.chg\..*$
\.rej$
\.conflict\~$

and when i try to add new file to ignore list i have message (see screenshot), is this correct behavior?
Comment 3 Ondrej Vrabec 2012-11-15 10:23:59 UTC
NB is unable to modify .hgignore files that contain regexp syntax and are not glob-only.