Show More
@@ -1862,6 +1862,16 b' def log(ui, repo, *pats, **opts):' | |||||
1862 | if miss: |
|
1862 | if miss: | |
1863 | continue |
|
1863 | continue | |
1864 |
|
1864 | |||
|
1865 | if opts['user']: | |||
|
1866 | changes = get(rev) | |||
|
1867 | miss = 0 | |||
|
1868 | for k in opts['user']: | |||
|
1869 | if k != changes[1]: | |||
|
1870 | miss = 1 | |||
|
1871 | break | |||
|
1872 | if miss: | |||
|
1873 | continue | |||
|
1874 | ||||
1865 | copies = [] |
|
1875 | copies = [] | |
1866 | if opts.get('copies') and rev: |
|
1876 | if opts.get('copies') and rev: | |
1867 | for fn in get(rev)[3]: |
|
1877 | for fn in get(rev)[3]: | |
@@ -3184,6 +3194,7 b' table = {' | |||||
3184 | ('r', 'rev', [], _('show the specified revision or range')), |
|
3194 | ('r', 'rev', [], _('show the specified revision or range')), | |
3185 | ('', 'removed', None, _('include revs where files were removed')), |
|
3195 | ('', 'removed', None, _('include revs where files were removed')), | |
3186 | ('m', 'only-merges', None, _('show only merges')), |
|
3196 | ('m', 'only-merges', None, _('show only merges')), | |
|
3197 | ('u', 'user', [], _('revs committed by user')), | |||
3187 | ('b', 'only-branch', [], |
|
3198 | ('b', 'only-branch', [], | |
3188 | _('show only changesets within the given named branch')), |
|
3199 | _('show only changesets within the given named branch')), | |
3189 | ('P', 'prune', [], _('do not display revision or any of its ancestors')), |
|
3200 | ('P', 'prune', [], _('do not display revision or any of its ancestors')), |
General Comments 0
You need to be logged in to leave comments.
Login now