Show More
@@ -1388,6 +1388,8 b' def incoming(ui, repo, source="default",' | |||
|
1388 | 1388 | if not o: |
|
1389 | 1389 | return |
|
1390 | 1390 | o = other.newer(o) |
|
1391 | if opts['newest_first']: | |
|
1392 | o.reverse() | |
|
1391 | 1393 | for n in o: |
|
1392 | 1394 | parents = [p for p in other.changelog.parents(n) if p != nullid] |
|
1393 | 1395 | if opts['no_merges'] and len(parents) == 2: |
@@ -1551,6 +1553,8 b' def outgoing(ui, repo, dest="default-pus' | |||
|
1551 | 1553 | other = hg.repository(ui, dest) |
|
1552 | 1554 | o = repo.findoutgoing(other) |
|
1553 | 1555 | o = repo.newer(o) |
|
1556 | if opts['newest_first']: | |
|
1557 | o.reverse() | |
|
1554 | 1558 | for n in o: |
|
1555 | 1559 | parents = [p for p in repo.changelog.parents(n) if p != nullid] |
|
1556 | 1560 | if opts['no_merges'] and len(parents) == 2: |
@@ -2254,8 +2258,9 b' table = {' | |||
|
2254 | 2258 | "hg import [-f] [-p NUM] [-b BASE] PATCH..."), |
|
2255 | 2259 | "incoming|in": (incoming, |
|
2256 | 2260 | [('M', 'no-merges', None, _("do not show merges")), |
|
2257 |
('p', 'patch', None, _('show patch')) |
|
|
2258 | _('hg incoming [-p] [SOURCE]')), | |
|
2261 | ('p', 'patch', None, _('show patch')), | |
|
2262 | ('n', 'newest-first', None, _('show newest record first'))], | |
|
2263 | _('hg incoming [-p] [-n] [-M] [SOURCE]')), | |
|
2259 | 2264 | "^init": (init, [], _('hg init [DEST]')), |
|
2260 | 2265 | "locate": |
|
2261 | 2266 | (locate, |
@@ -2279,8 +2284,9 b' table = {' | |||
|
2279 | 2284 | "manifest": (manifest, [], _('hg manifest [REV]')), |
|
2280 | 2285 | "outgoing|out": (outgoing, |
|
2281 | 2286 | [('M', 'no-merges', None, _("do not show merges")), |
|
2282 |
('p', 'patch', None, _('show patch')) |
|
|
2283 | _('hg outgoing [-p] [DEST]')), | |
|
2287 | ('p', 'patch', None, _('show patch')), | |
|
2288 | ('n', 'newest-first', None, _('show newest record first'))], | |
|
2289 | _('hg outgoing [-p] [-n] [-M] [DEST]')), | |
|
2284 | 2290 | "parents": (parents, [], _('hg parents [REV]')), |
|
2285 | 2291 | "paths": (paths, [], _('hg paths [NAME]')), |
|
2286 | 2292 | "^pull": |
General Comments 0
You need to be logged in to leave comments.
Login now