##// END OF EJS Templates
log --limit: break after a limited number of csets (broken by f3d60543924f)
Benoit Boissinot -
r9687:c6da1cb3 default
parent child Browse files
Show More
@@ -2069,9 +2069,10 b' def log(ui, repo, *pats, **opts):'
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
General Comments 0
You need to be logged in to leave comments. Login now