[Bug 6239] New: qrefresh exclude option does not use regex
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Wed Dec 11 15:10:42 UTC 2019
https://bz.mercurial-scm.org/show_bug.cgi?id=6239
Bug ID: 6239
Summary: qrefresh exclude option does not use regex
Product: Mercurial
Version: unspecified
Hardware: All
OS: Linux
Status: UNCONFIRMED
Severity: bug
Priority: urgent
Component: mq
Assignee: bugzilla at mercurial-scm.org
Reporter: muesli4 at gmail.com
CC: mercurial-devel at mercurial-scm.org
Python Version: ---
Whenever I try to exclude files with a regex it simply doesn't work at all. All
files that should be excluded are kept in the patch. Single file works though.
See the following example:
>>> touch bar.xml baz.txt foo.xml
>>> hg init
>>> hg qnew test
>>> hg qser -v
0 A test
> hg st
? bar.xml
? baz.txt
? foo.xml
>>> hg add
Füge bar.xml hinzu
Füge baz.txt hinzu
Füge foo.xml hinzu
>>> hg qrefresh --exclude '*.xml'
>>> hg st
A bar.xml
A foo.xml
>>> hg diff
>>> hg qdiff
diff --git a/bar.xml b/bar.xml
new file mode 100644
diff --git a/baz.txt b/baz.txt
new file mode 100644
diff --git a/foo.xml b/foo.xml
new file mode 100644
The documentation clearly mentions that it expects a pattern. The version is
5.1.2 from Archlinux repo (but I also have this bug at work with CentOS).
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list