Show More
@@ -82,7 +82,7 b' from mercurial import commands, cmdutil,' | |||||
82 | from mercurial import patch, localrepo, templater, templatefilters, util |
|
82 | from mercurial import patch, localrepo, templater, templatefilters, util | |
83 | from mercurial.node import * |
|
83 | from mercurial.node import * | |
84 | from mercurial.i18n import _ |
|
84 | from mercurial.i18n import _ | |
85 |
import re, shutil, tempfile, time |
|
85 | import re, shutil, tempfile, time | |
86 |
|
86 | |||
87 | commands.optionalrepo += ' kwdemo' |
|
87 | commands.optionalrepo += ' kwdemo' | |
88 |
|
88 | |||
@@ -425,7 +425,7 b' def reposetup(ui, repo):' | |||||
425 |
|
425 | |||
426 | try: |
|
426 | try: | |
427 | if (not repo.local() or hgcmd in nokwcommands.split() |
|
427 | if (not repo.local() or hgcmd in nokwcommands.split() | |
428 |
or '.hg' in repo.root |
|
428 | or '.hg' in util.splitpath(repo.root) | |
429 | or repo._url.startswith('bundle:')): |
|
429 | or repo._url.startswith('bundle:')): | |
430 | return |
|
430 | return | |
431 | except AttributeError: |
|
431 | except AttributeError: |
General Comments 0
You need to be logged in to leave comments.
Login now