Mercurial > evolve
comparison hgext/obsolete.py @ 86:7f763bada042
[obsolete] code section comment for repo subclassing
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Mon, 19 Sep 2011 01:57:43 +0200 |
parents | 531058dbd703 |
children | 246b8fefd0a5 |
comparison
equal
deleted
inserted
replaced
85:531058dbd703 | 86:7f763bada042 |
---|---|
280 subnode = bin(subhex) | 280 subnode = bin(subhex) |
281 if subnode == nullid: | 281 if subnode == nullid: |
282 subnode = None | 282 subnode = None |
283 rels.setdefault( subnode, set()).add(bin(objhex)) | 283 rels.setdefault( subnode, set()).add(bin(objhex)) |
284 return rels | 284 return rels |
285 | |
286 ### repo subclassing | |
287 ############################# | |
285 | 288 |
286 def reposetup(ui, repo): | 289 def reposetup(ui, repo): |
287 | 290 |
288 if not repo.local(): | 291 if not repo.local(): |
289 return | 292 return |