Show More
@@ -1857,6 +1857,10 b' def log(ui, repo, *pats, **opts):' | |||||
1857 |
|
1857 | |||
1858 | changeiter, getchange, matchfn = walkchangerevs(ui, repo, pats, opts) |
|
1858 | changeiter, getchange, matchfn = walkchangerevs(ui, repo, pats, opts) | |
1859 |
|
1859 | |||
|
1860 | if opts['branches']: | |||
|
1861 | ui.warn(_("the --branches option is deprecated, " | |||
|
1862 | "please use 'hg branches' instead\n")) | |||
|
1863 | ||||
1860 | if opts['limit']: |
|
1864 | if opts['limit']: | |
1861 | try: |
|
1865 | try: | |
1862 | limit = int(opts['limit']) |
|
1866 | limit = int(opts['limit']) | |
@@ -1933,8 +1937,6 b' def log(ui, repo, *pats, **opts):' | |||||
1933 |
|
1937 | |||
1934 | br = None |
|
1938 | br = None | |
1935 | if opts['branches']: |
|
1939 | if opts['branches']: | |
1936 | ui.warn(_("the --branches option is deprecated, " |
|
|||
1937 | "please use 'hg branches' instead\n")) |
|
|||
1938 | br = repo.branchlookup([repo.changelog.node(rev)]) |
|
1940 | br = repo.branchlookup([repo.changelog.node(rev)]) | |
1939 |
|
1941 | |||
1940 | copies = [] |
|
1942 | copies = [] |
General Comments 0
You need to be logged in to leave comments.
Login now