Please check out the revset feature

Peter Arrenbrecht peter.arrenbrecht at gmail.com
Tue Jun 8 08:23:46 CDT 2010


On Tue, Jun 8, 2010 at 3:06 PM, Peter Arrenbrecht
<peter.arrenbrecht at gmail.com> wrote:
> On Mon, Jun 7, 2010 at 6:16 PM, Matt Mackall <mpm at selenic.com> wrote:
>> Last week I pushed the revset feature to default. It's available
>> wherever revision ranges were previously supported. It's quite complex
>> and needs some testing. (And yes, there are currently no tests or docs!)
>> ...
>>  x - y  -> x & !y
>
> This seems to break branch names with dashes in them, as in:
>
>  hg glog --rev p-root:tip

I wonder if the following diff suggests that this will not be treated
as a regression.

$ hg diff -c e581f3ac tests
diff --git a/tests/test-bookmarks b/tests/test-bookmarks
--- a/tests/test-bookmarks
+++ b/tests/test-bookmarks
@@ -82,7 +82,7 @@
 hg bookmarks

 echo % look up stripped bookmark name
-hg log -r 'x  y'
+hg log -r '"x  y"'

 echo % reject bookmark name with newline
 hg bookmark '

-parren


More information about the Mercurial-devel mailing list