Mercurial > python-hglib
view .hgtags @ 123:cdde1656346f
client: add 'hidden' property to show hidden changesets.
This enables interactions with the obsolete changesets in the repository:
- add the attribute in client class
- add the keyword to the relevant commands
- enable log without hidden changesets even when self.hidden is True
- add a few tests with the hidden keyword
This changeset mirrors the behavior of the mercurial global command --hidden:
an attribute is added to the client library. If set at True, adds the hidden
keyword to all command which can use it to show hidden changesets.
The alternative would be to add the keyword in rawcommand, but the hidden flag
is not relevant for commands such as add or branch.
author | Paul Tonelli <paul.tonelli@logilab.fr> |
---|---|
date | Thu, 22 May 2014 15:23:12 +0200 |
parents | cc905ee18449 |
children | a3373bf28ccb |
line wrap: on
line source
c41442cb355d55ca152d5f13a95a6bf2ebc5b870 0.1 cc2b7540fa2bd0ddb8ba29786a0f73d682bee0a7 0.2 86ff8611a8fad14d4c1dba6d75bc26caaa41e951 0.3 5fe53db61aa433018de8b0ee296db868f666cee7 0.4 c635e6e7054f2600d36343eaa1770cb36549382a 0.9 8867908fe8c751dc0aef6194dd401ae08a4931f3 1.0 e738d6fe5f3ff613a4ee2c0d759eee0ee4f5c9ff 1.1 5d3783aebe5f82bb9dc90fde31543c262b797dd4 1.2