Mercurial > kallithea
comparison pylons_app/lib/utils.py @ 524:63212fea2471
a lot of fixes in templates,
added options to each repository showing fork/serach/settings fixed emtpy changeset (again !)
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 29 Sep 2010 22:36:53 +0200 |
parents | eda96fb85ba7 |
children | 39203995f2c4 |
comparison
equal
deleted
inserted
replaced
523:d64a3ab18845 | 524:63212fea2471 |
---|---|
227 Returns raw string identifing this changeset, useful for web | 227 Returns raw string identifing this changeset, useful for web |
228 representation. | 228 representation. |
229 """ | 229 """ |
230 return '0' * 40 | 230 return '0' * 40 |
231 | 231 |
232 @LazyProperty | |
232 def short_id(self): | 233 def short_id(self): |
233 self.raw_id[:12] | 234 return self.raw_id[:12] |
234 | 235 |
235 def repo2db_mapper(initial_repo_list, remove_obsolete=False): | 236 def repo2db_mapper(initial_repo_list, remove_obsolete=False): |
236 """ | 237 """ |
237 maps all found repositories into db | 238 maps all found repositories into db |
238 """ | 239 """ |