changeset 508bbec99e58 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=508bbec99e58
description:
hgfilesize: skip files that have been removed
diffstat:
util/hgfilesize.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r f72bbe6b13fb -r 508bbec99e58 util/hgfilesize.py
--- a/util/hgfilesize.py Tue Jan 10 17:28:49 2012 -0600
+++ b/util/hgfilesize.py Tue Jan 10 22:50:54 2012 -0800
@@ -23,6 +23,8 @@
for rev in xrange(existing_tip, new_tip + 1):
ctx = context.changectx(repo, rev)
for f in ctx.files():
+ if f not in ctx:
+ continue
fctx = ctx.filectx(f)
if fctx.size() > limit:
ui.write(_('file %s of %s is too large: %d > %d\n') % \
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev