tests: fix failure in test-wip.t (
bug 1306316) r?gps
Fixed a path test in test-wip.t that includes the project checkout
directory name. The checkout directory name varies between
environments (and developers), so restrict the test to in-project
paths.
MozReview-Commit-ID: 3EedsRaL14c
--- a/hgext/configwizard/tests/test-wip.t
+++ b/hgext/configwizard/tests/test-wip.t
@@ -215,14 +215,14 @@ wip alias ignores old esrs if using fire
wip = log --graph --rev=wip --template=wip
[revsetalias]
-wip = (parents(not public()) or not public() or . or (head() and branch(default))) and (not obsolete() or unstable()^) and not closed()
+wip = (parents(not public()) or not public() or . or (head() and branch(default))) and (not obsolete() or unstable()^) and not closed() and not (fxheads() - date(-90))
[templates]
wip = '{label("log.branch", branches)} {label("changeset.{phase}", rev)}{label("changeset.{phase}", ":")}{label("changeset.{phase}", short(node))} {label("grep.user", author|user)}{label("log.tag", if(tags," {tags}"))}{label("log.tag", if(fxheads," {fxheads}"))} {label("log.bookmark", if(bookmarks," {bookmarks}"))}\n{label(ifcontains(rev, revset("."), "desc.here"),desc|firstline)}'
[extensions]
pager =
- +firefoxtree = */version-control-tools/hgext/firefoxtree (glob)
+ +firefoxtree = */hgext/firefoxtree (glob)
[pager]
pager = LESS=FRSXQ less
attend-help = true
Write changes to hgrc file (Yn)? y