equal
deleted
inserted
replaced
873 if pm is not None: |
873 if pm is not None: |
874 rn = repo.changelog.rev(pm) |
874 rn = repo.changelog.rev(pm) |
875 |
875 |
876 return [r for r in subset if r == rn] |
876 return [r for r in subset if r == rn] |
877 |
877 |
|
878 def obsolete(repo, subset, x): |
|
879 """``obsolete()`` |
|
880 Mutable changeset with a newer version.""" |
|
881 getargs(x, 0, 0, _("obsolete takes no arguments")) |
|
882 return [r for r in subset if repo[r].obsolete()] |
|
883 |
878 def outgoing(repo, subset, x): |
884 def outgoing(repo, subset, x): |
879 """``outgoing([path])`` |
885 """``outgoing([path])`` |
880 Changesets not found in the specified destination repository, or the |
886 Changesets not found in the specified destination repository, or the |
881 default push location. |
887 default push location. |
882 """ |
888 """ |
1367 "_matchfiles": _matchfiles, |
1373 "_matchfiles": _matchfiles, |
1368 "max": maxrev, |
1374 "max": maxrev, |
1369 "merge": merge, |
1375 "merge": merge, |
1370 "min": minrev, |
1376 "min": minrev, |
1371 "modifies": modifies, |
1377 "modifies": modifies, |
|
1378 "obsolete": obsolete, |
1372 "outgoing": outgoing, |
1379 "outgoing": outgoing, |
1373 "p1": p1, |
1380 "p1": p1, |
1374 "p2": p2, |
1381 "p2": p2, |
1375 "parents": parents, |
1382 "parents": parents, |
1376 "present": present, |
1383 "present": present, |