Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 124140 - Ignore does not work peoperly if .hgignore file contains comments or sntax chnage
Ignore does not work peoperly if .hgignore file contains comments or sntax ch...
Product: versioncontrol
Classification: Unclassified
Component: Mercurial
Sun All
: P3 (vote)
: 6.x
Assigned To: issues@versioncontrol
: 123874 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2007-12-17 16:02 UTC by Padraig Obriain
Modified: 2008-01-03 09:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT

proposed patch (5.03 KB, patch)
2007-12-19 12:16 UTC, Padraig Obriain
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Padraig Obriain 2007-12-17 16:02:53 UTC
If .hgignore file contains comments or statements of the form "syntax: glob" or "syntax: regexp then Ignoring or
Unignoring a file will corrupt the .hgignore file
Comment 1 Padraig Obriain 2007-12-17 16:05:01 UTC
If the .hgignore file contains "syntax: glob" or "syntax: regexp" then Ignore or Unignore will display a warning and not
attempt to ignore or unignore the file.

Comments in the file will be discarded when the file is updated.
Comment 2 Padraig Obriain 2007-12-19 12:16:46 UTC
Created attachment 54395 [details]
proposed patch
Comment 3 Padraig Obriain 2007-12-19 12:21:02 UTC
This patch also includes the patch for #123874.
Comment 4 Padraig Obriain 2007-12-19 12:23:32 UTC
IDE: [12/19/07 12:22 PM] Committing "Mercurial" started
Checking in;
/shared/data/ccvs/repository/versioncontrol/mercurial/src/org/netbeans/modules/mercurial/util/,v  <--
new revision: 1.25; previous revision: 1.24
Checking in;
/shared/data/ccvs/repository/versioncontrol/mercurial/src/org/netbeans/modules/mercurial/util/,v  <--
new revision: 1.19; previous revision: 1.18
IDE: [12/19/07 12:22 PM] Committing "Mercurial" finished
Comment 5 Padraig Obriain 2007-12-19 12:24:36 UTC
*** Issue 123874 has been marked as a duplicate of this issue. ***

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo