Show More
@@ -854,6 +854,16 b' def manifest(ui, repo, rev=None):' | |||||
854 | for f in files: |
|
854 | for f in files: | |
855 | ui.write("%40s %3s %s\n" % (hg.hex(m[f]), mf[f] and "755" or "644", f)) |
|
855 | ui.write("%40s %3s %s\n" % (hg.hex(m[f]), mf[f] and "755" or "644", f)) | |
856 |
|
856 | |||
|
857 | def outgoing(ui, repo, dest="default-push"): | |||
|
858 | """show changesets not found in destination""" | |||
|
859 | dest = ui.expandpath(dest) | |||
|
860 | other = hg.repository(ui, dest) | |||
|
861 | o = repo.findoutgoing(other) | |||
|
862 | o = repo.newer(o) | |||
|
863 | o.reverse() | |||
|
864 | for n in o: | |||
|
865 | show_changeset(ui, repo, changenode=n) | |||
|
866 | ||||
857 | def parents(ui, repo, rev=None): |
|
867 | def parents(ui, repo, rev=None): | |
858 | """show the parents of the working dir or revision""" |
|
868 | """show the parents of the working dir or revision""" | |
859 | if rev: |
|
869 | if rev: | |
@@ -1308,6 +1318,7 b' table = {' | |||||
1308 | ('p', 'patch', None, 'show patch')], |
|
1318 | ('p', 'patch', None, 'show patch')], | |
1309 | 'hg log [-r REV1 [-r REV2]] [-p] [FILE]'), |
|
1319 | 'hg log [-r REV1 [-r REV2]] [-p] [FILE]'), | |
1310 | "manifest": (manifest, [], 'hg manifest [REV]'), |
|
1320 | "manifest": (manifest, [], 'hg manifest [REV]'), | |
|
1321 | "outgoing": (outgoing, [], 'hg outgoing [DEST]'), | |||
1311 | "parents": (parents, [], 'hg parents [REV]'), |
|
1322 | "parents": (parents, [], 'hg parents [REV]'), | |
1312 | "paths": (paths, [], 'hg paths [name]'), |
|
1323 | "paths": (paths, [], 'hg paths [name]'), | |
1313 | "^pull": |
|
1324 | "^pull": |
General Comments 0
You need to be logged in to leave comments.
Login now