diff hgext/extdiff.py @ 2875: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
line wrap: on
line diff
--- a/hgext/extdiff.py	Sat Aug 12 16:13:27 2006 -0700
+++ b/hgext/extdiff.py	Sat Aug 12 16:40:12 2006 -0700
@@ -80,8 +80,8 @@
 
     node1, node2 = commands.revpair(ui, repo, opts['rev'])
     files, matchfn, anypats = commands.matchpats(repo, pats, opts)
-    modified, added, removed, deleted, unknown = repo.changes(
-        node1, node2, files, match=matchfn)
+    modified, added, removed, deleted, unknown = repo.status(
+        node1, node2, files, match=matchfn)[:5]
     if not (modified or added or removed):
         return 0