comparison tests/test-revset2.t @ 37264:d2c912836465

revset: drop support for '' as alias for '.' Not marked BC because I think support for using '' on the CLI was there by accident, and we don't seem to have documented it. Differential Revision: https://phab.mercurial-scm.org/D3018
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 02 Apr 2018 09:16:52 -0700
parents f74fdab86f16
children 6ef01102ebff
comparison
equal deleted inserted replaced
37263:f74fdab86f16 37264:d2c912836465
579 579
580 $ log '' 580 $ log ''
581 hg: parse error: empty query 581 hg: parse error: empty query
582 [255] 582 [255]
583 $ log 'parents("")' 583 $ log 'parents("")'
584 8 584 hg: parse error: empty string is not a valid revision
585 [255]
585 586
586 we can use patterns when searching for tags 587 we can use patterns when searching for tags
587 588
588 $ log 'tag("1..*")' 589 $ log 'tag("1..*")'
589 abort: tag '1..*' does not exist! 590 abort: tag '1..*' does not exist!