##// END OF EJS Templates
extdiff: reorder an if-else conditional...
Pulkit Goyal -
r45969:a28da102 default
parent child Browse files
Show More
@@ -711,6 +711,8 b' class savedcmd(object):'
711 711
712 712 def uisetup(ui):
713 713 for cmd, path in ui.configitems(b'extdiff'):
714 if cmd.startswith(b'opts.') or cmd.startswith(b'gui.'):
715 continue
714 716 path = util.expandpath(path)
715 717 if cmd.startswith(b'cmd.'):
716 718 cmd = cmd[4:]
@@ -723,8 +725,6 b' def uisetup(ui):'
723 725 if diffopts:
724 726 cmdline += b' ' + diffopts
725 727 isgui = ui.configbool(b'extdiff', b'gui.' + cmd)
726 elif cmd.startswith(b'opts.') or cmd.startswith(b'gui.'):
727 continue
728 728 else:
729 729 if path:
730 730 # case "cmd = path opts"
General Comments 0
You need to be logged in to leave comments. Login now