Bug 4925 - Fileset is missing a "missing()" predicate
Summary: Fileset is missing a "missing()" predicate
Status: RESOLVED FIXED
Alias: None
Product: Mercurial
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: default branch
Hardware: PC Linux
: wish feature
Assignee: Bugzilla
URL:
Keywords: easy
Depends on:
Blocks:
 
Reported: 2015-11-02 05:45 UTC by Pierre-Yves David
Modified: 2015-11-28 00:00 UTC (History)
4 users (show)

See Also:
Python Version: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre-Yves David 2015-11-02 05:45 UTC
We seems for be be able to reference all possible status but "missing()".
Comment 1 Matt Mackall 2015-11-02 16:08 UTC
deleted()?
Comment 2 Pierre-Yves David 2015-11-06 19:12 UTC
Status help says:

    The codes used to show the status of files are:

      M = modified
      A = added
      R = removed
      C = clean
      ! = missing (deleted by non-hg command, but still tracked)
      ? = not tracked
      I = ignored
        = origin of the previous file (with --copies)

    Returns 0 on success.

However, flag says:

 -d --deleted             show only deleted (but tracked) files

(because -m is modified).

revset use 'deleted'.

color use 'missing'

I think we should get more consistent here (using missing?) have alias for revset/template and having any exception strongly mentionning the canonical name.
Comment 3 HG Bot 2015-11-20 15:45 UTC
Fixed by https://selenic.com/repo/hg/rev/ceef5fb14872
liscju <piotr.listkiewicz@gmail.com>
fileset: add missing() predicate (issue4925)

Help of status cmd defines status file of 'missing', what is
called in fileset 'deleted'. To stay consistent this patch
introduces missing() predicate which in fact is alias to
'deleted'.

(please test the fix)
Comment 4 Bugzilla 2015-11-28 00:00 UTC
Bug was set to TESTING for 7 days, resolving