comparison hgext/extdiff.py @ 3707:67f44b825784

Removed unused ui parameter from revpair/revrange and fix its users.
author Thomas Arendsen Hein <thomas@intevation.de>
date Wed, 22 Nov 2006 23:02:28 +0100
parents 49966b5ab16f
children abaee83ce0a6 18dcc22666a0
comparison
equal deleted inserted replaced
3706:0d810798acb1 3707:67f44b825784
97 fp = open(dest, 'w') 97 fp = open(dest, 'w')
98 for chunk in util.filechunkiter(repo.wopener(wfn)): 98 for chunk in util.filechunkiter(repo.wopener(wfn)):
99 fp.write(chunk) 99 fp.write(chunk)
100 return dirname 100 return dirname
101 101
102 node1, node2 = cmdutil.revpair(ui, repo, opts['rev']) 102 node1, node2 = cmdutil.revpair(repo, opts['rev'])
103 files, matchfn, anypats = cmdutil.matchpats(repo, pats, opts) 103 files, matchfn, anypats = cmdutil.matchpats(repo, pats, opts)
104 modified, added, removed, deleted, unknown = repo.status( 104 modified, added, removed, deleted, unknown = repo.status(
105 node1, node2, files, match=matchfn)[:5] 105 node1, node2, files, match=matchfn)[:5]
106 if not (modified or added or removed): 106 if not (modified or added or removed):
107 return 0 107 return 0