Show More
@@ -6980,11 +6980,13 b' def status(ui, repo, *pats, **opts):' | |||||
6980 | ) |
|
6980 | ) | |
6981 |
|
6981 | |||
6982 | copy = {} |
|
6982 | copy = {} | |
6983 | if ( |
|
6983 | show_copies = ui.configbool(b'ui', b'statuscopies') | |
6984 | opts.get(b'all') |
|
6984 | if opts.get(b'copies') is not None: | |
6985 |
|
|
6985 | show_copies = opts.get(b'copies') | |
6986 | or ui.configbool(b'ui', b'statuscopies') |
|
6986 | show_copies = (show_copies or opts.get(b'all')) and not opts.get( | |
6987 |
|
|
6987 | b'no_status' | |
|
6988 | ) | |||
|
6989 | if show_copies: | |||
6988 | copy = copies.pathcopies(ctx1, ctx2, m) |
|
6990 | copy = copies.pathcopies(ctx1, ctx2, m) | |
6989 |
|
6991 | |||
6990 | morestatus = None |
|
6992 | morestatus = None |
@@ -637,9 +637,16 b' using ui.statuscopies setting' | |||||
637 | M a |
|
637 | M a | |
638 | b |
|
638 | b | |
639 | R b |
|
639 | R b | |
|
640 | $ hg st --config ui.statuscopies=true --no-copies | |||
|
641 | M a | |||
|
642 | R b | |||
640 | $ hg st --config ui.statuscopies=false |
|
643 | $ hg st --config ui.statuscopies=false | |
641 | M a |
|
644 | M a | |
642 | R b |
|
645 | R b | |
|
646 | $ hg st --config ui.statuscopies=false --copies | |||
|
647 | M a | |||
|
648 | b | |||
|
649 | R b | |||
643 | $ hg st --config ui.tweakdefaults=yes |
|
650 | $ hg st --config ui.tweakdefaults=yes | |
644 | M a |
|
651 | M a | |
645 | b |
|
652 | b |
General Comments 0
You need to be logged in to leave comments.
Login now