src/changes.py
changeset 67 fd16d9a1234b
parent 66 2f0ea1163b9e
child 68 a88134f77486
--- a/src/changes.py	Fri Mar 06 08:56:48 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-# Copyright 2008-2009 LShift Ltd
-# Copyright 2006 Vadim Gelfer <vadim.gelfer@gmail.com>
-#
-# Authors:
-# Paul Crowley <paul@lshift.net>
-# Vadim Gelfer <vadim.gelfer@gmail.com>
-#
-# This software may be used and distributed according to the terms
-# of the GNU General Public License, incorporated herein by reference.
-
-def changes(repo, node):
-    start = repo.changectx(node).rev()
-    try:
-        end = len(repo.changelog)
-    except:
-        end = repo.changelog.count()
-    for rev in xrange(start, end):
-        yield repo.changectx(rev)