Mercurial > hg > mercurial-crew-with-dirclash
comparison hgext/extdiff.py @ 2874:3d6efcbbd1c9
remove localrepository.changes.
use localrepository.status instead.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Sat, 12 Aug 2006 16:40:12 -0700 |
parents | d99a92b7acad |
children | 2fe4d99ae726 |
comparison
equal
deleted
inserted
replaced
2873:4ec58b157265 | 2874:3d6efcbbd1c9 |
---|---|
78 fp.write(chunk) | 78 fp.write(chunk) |
79 return dirname | 79 return dirname |
80 | 80 |
81 node1, node2 = commands.revpair(ui, repo, opts['rev']) | 81 node1, node2 = commands.revpair(ui, repo, opts['rev']) |
82 files, matchfn, anypats = commands.matchpats(repo, pats, opts) | 82 files, matchfn, anypats = commands.matchpats(repo, pats, opts) |
83 modified, added, removed, deleted, unknown = repo.changes( | 83 modified, added, removed, deleted, unknown = repo.status( |
84 node1, node2, files, match=matchfn) | 84 node1, node2, files, match=matchfn)[:5] |
85 if not (modified or added or removed): | 85 if not (modified or added or removed): |
86 return 0 | 86 return 0 |
87 | 87 |
88 tmproot = tempfile.mkdtemp(prefix='extdiff.') | 88 tmproot = tempfile.mkdtemp(prefix='extdiff.') |
89 try: | 89 try: |