Changeset - d18500a8840c
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 12 years ago 2013-06-04 12:50:46
marcin@python-works.com
Patch demandimport.enable because of bug introduced
in mercurial 2.5.0. Demand import is always enabled
after importing hooks. .Rhodecode doesn't work with
it.
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/vcs/utils/hgcompat.py
Show inline comments
 
"""
 
Mercurial libs compatibility
 
"""
 

	
 
import mercurial
 
import mercurial.demandimport
 
## patch demandimport, due to bug in mercurial when it allways triggers demandimport.enable()
 
mercurial.demandimport.enable = lambda *args, **kwargs: 1
 
from mercurial import archival, merge as hg_merge, patch, ui
 
from mercurial import discovery
 
from mercurial import localrepo
 
from mercurial import scmutil
 
from mercurial import config
 
from mercurial.commands import clone, nullid, pull
0 comments (0 inline, 0 general)