# HG changeset patch # User Marcin Kuzminski # Date 2010-09-28 23:08:43 # Node ID eda96fb85ba7eaf8a2bba8cced3e1444f3df5e67 # Parent c83d12871424873123dd9f1a7286fb3443e5cd87 dohh !! fixed EmptyCHangeset for new vcs diff --git a/pylons_app/lib/utils.py b/pylons_app/lib/utils.py --- a/pylons_app/lib/utils.py +++ b/pylons_app/lib/utils.py @@ -227,8 +227,10 @@ class EmptyChangeset(BaseChangeset): Returns raw string identifing this changeset, useful for web representation. """ - return '0' * 12 - + return '0' * 40 + + def short_id(self): + self.raw_id[:12] def repo2db_mapper(initial_repo_list, remove_obsolete=False): """