comparison hgext/shelve.py @ 30407:e1677cc29da6

patch: remove unused git parameter from patch.diffstat() Since 628a4a9e411d the parameter is not used anymore.
author Henning Schild <henning@hennsch.de>
date Sat, 12 Nov 2016 13:36:17 +0100
parents b573d7ca31c4
children 2e736f01a710
comparison
equal deleted inserted replaced
30406:cff0f5926797 30407:e1677cc29da6
503 difflines = fp.readlines() 503 difflines = fp.readlines()
504 if opts['patch']: 504 if opts['patch']:
505 for chunk, label in patch.difflabel(iter, difflines): 505 for chunk, label in patch.difflabel(iter, difflines):
506 ui.write(chunk, label=label) 506 ui.write(chunk, label=label)
507 if opts['stat']: 507 if opts['stat']:
508 for chunk, label in patch.diffstatui(difflines, width=width, 508 for chunk, label in patch.diffstatui(difflines, width=width):
509 git=True):
510 ui.write(chunk, label=label) 509 ui.write(chunk, label=label)
511 510
512 def singlepatchcmds(ui, repo, pats, opts, subcommand): 511 def singlepatchcmds(ui, repo, pats, opts, subcommand):
513 """subcommand that displays a single shelf""" 512 """subcommand that displays a single shelf"""
514 if len(pats) != 1: 513 if len(pats) != 1: