Mercurial > public > mercurial-scm > hg
comparison mercurial/commands.py @ 9687:c6da1cb3b255
log --limit: break after a limited number of csets (broken by f3d60543924f)
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Sun, 01 Nov 2009 02:54:32 +0100 |
parents | a1943c2a4661 |
children | 57cee011ffcb |
comparison
equal
deleted
inserted
replaced
9686:ddf2adf88b89 | 9687:c6da1cb3b255 |
---|---|
2067 copies.append((fn, rename[0])) | 2067 copies.append((fn, rename[0])) |
2068 | 2068 |
2069 displayer.show(ctx, copies=copies) | 2069 displayer.show(ctx, copies=copies) |
2070 | 2070 |
2071 for ctx in cmdutil.walkchangerevs(repo, matchfn, opts, prep): | 2071 for ctx in cmdutil.walkchangerevs(repo, matchfn, opts, prep): |
2072 if count != limit: | 2072 if count == limit: |
2073 if displayer.flush(ctx.rev()): | 2073 break |
2074 count += 1 | 2074 if displayer.flush(ctx.rev()): |
2075 count += 1 | |
2075 | 2076 |
2076 def manifest(ui, repo, node=None, rev=None): | 2077 def manifest(ui, repo, node=None, rev=None): |
2077 """output the current or given revision of the project manifest | 2078 """output the current or given revision of the project manifest |
2078 | 2079 |
2079 Print a list of version controlled files for the given revision. | 2080 Print a list of version controlled files for the given revision. |