[PATCH 0 of 4] keyword: enhance consistency of "hg kwfiles"

Christian Ebert blacktrash at gmx.net
Thu Sep 24 08:11:41 CDT 2009


* Christian Ebert on Wednesday, September 23, 2009 at 16:05:15 +0200
> These patches aim to make "hg kwfiles" more consistent,
> especially wrt "hg status" by increasing the similarity in both
> output and code where the behaviour is the same.
> 
> The long name of the -u option changes to --unknown.
> The short name of the --all option changes to -A.
> -u/--unknown now shows unknown files *only*.
> -A/--all now also shown unknown files.
> 
> Differences to "hg status":
> 
> Except with -v or -A no status flags will be displayed; it's
> "kwfiles", not "kwstatus", and normally a plain list of files
> suffices for its purpose. Therefore the changed behaviour of
> -u/--unknown makes more sense.
> It never lists files that are ignored by hg, -i/--ignore (without
> "d") refers to files that are ignored by the extension, not by
> hg.
> 
> Perhaps --ignore should be replaced by -e/--excluded, but the
> rationale to choose --ignore was that it reflects
> 
> [keywordmaps]
> pattern = ignore

As usual available for inspection/pull/critique at

queue:
http://www.blacktrash.org/hg/hg-queue/
crew with patches on top:
http://www.blacktrash.org/hg/hg-crew-mq/

c
-- 
  Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]

_F R E E_  _V I D E O S_  --->>> http://www.blacktrash.org/underdogma/


More information about the Mercurial-devel mailing list