[Commented On] D11942: rhg: Accept different "invalid ignore pattern" error message formatting
baymax (Baymax, Your Personal Patch-care Companion)
phabricator at mercurial-scm.org
Mon Dec 20 12:25:12 UTC 2021
baymax added a comment.
baymax updated this revision to Diff 31551.
✅ refresh by Heptapod after a successful CI run (🐙 💚)
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11942?vs=31538&id=31551
BRANCH
default
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11942/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11942
AFFECTED FILES
tests/test-hgignore.t
CHANGE DETAILS
diff --git a/tests/test-hgignore.t b/tests/test-hgignore.t
--- a/tests/test-hgignore.t
+++ b/tests/test-hgignore.t
@@ -9,10 +9,6 @@
> EOF
#endif
-TODO: fix rhg bugs that make this test fail when status is enabled
- $ unset RHG_STATUS
-
-
$ hg init ignorerepo
$ cd ignorerepo
@@ -63,9 +59,19 @@
? syntax
$ echo "*.o" > .hgignore
+#if no-rhg
$ hg status
abort: $TESTTMP/ignorerepo/.hgignore: invalid pattern (relre): *.o (glob)
[255]
+#endif
+#if rhg
+ $ hg status
+ Unsupported syntax regex parse error:
+ ^(?:*.o)
+ ^
+ error: repetition operator missing expression
+ [255]
+#endif
Ensure given files are relative to cwd
To: SimonSapin, #hg-reviewers, Alphare
Cc: Alphare, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20211220/5a08b200/attachment-0002.html>
More information about the Mercurial-patches
mailing list