Mercurial > hg
comparison contrib/hbisect.py @ 1618:ff339dd21976
Renamed c, a, d, u to modified, added, removed, unknown for users of changes()
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Thu, 12 Jan 2006 13:35:09 +0100 |
parents | 59b3639df0a9 |
children | 1ba0d7041ac4 |
comparison
equal
deleted
inserted
replaced
1617:ece5d785e87a | 1618:ff339dd21976 |
---|---|
19 ui.warn("please commit or revert\n") | 19 ui.warn("please commit or revert\n") |
20 sys.exit(1) | 20 sys.exit(1) |
21 return parents.pop() | 21 return parents.pop() |
22 | 22 |
23 def check_clean(ui, repo): | 23 def check_clean(ui, repo): |
24 c, a, d, u = repo.changes() | 24 modified, added, removed, unknown = repo.changes() |
25 if c or a or d: | 25 if modified or added or removed: |
26 ui.warn("Repository is not clean, please commit or revert\n") | 26 ui.warn("Repository is not clean, please commit or revert\n") |
27 sys.exit(1) | 27 sys.exit(1) |
28 | 28 |
29 class bisect(object): | 29 class bisect(object): |
30 """dichotomic search in the DAG of changesets""" | 30 """dichotomic search in the DAG of changesets""" |