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

Summary: ability to modify .hgignore with regexp syntax
Product: versioncontrol Reporter: medeag
Component: MercurialAssignee: Ondrej Vrabec <ovrabec>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: screenshot

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.