Problem with KeywordExtension

Roman Bertle bertle at smoerz.org
Tue May 20 12:28:25 CDT 2008


Hello,

I have a problem which is, in my opinion, connected to the
KeywordExtension:

cd MCevaluate
hg version
 Mercurial Distributed SCM (version 1.0)

hg verify
 checking changesets
 checking manifests
 crosschecking files in changesets and manifests
 checking files
 22 files, 91 changesets, 131 total revisions

hg status
 ? ev.py

hg diff --git

cd ..
hg clone MCevaluate MCevaluate_cloned
 updating working directory
 11 files updated, 0 files merged, 0 files removed, 0 files unresolved

cd MCevaluate_cloned
hg status
 M src/__init__.py
 M src/demo.py
 M src/mcevaluate.py

hg diff --git

hg verify
 checking changesets
 checking manifests
 crosschecking files in changesets and manifests
 checking files
 22 files, 91 changesets, 131 total revisions

hg diff, even with option --git, shows no differences, but hg status
reports modified files.
There is a way to circumvent this problem:

1.) Disable the KeywordExtension
2.) hg clone
3.) Reenable the KeywordExtension
4.) Do a hg kwexpand in the clone

But this is cumbersome, and errorprone.

Best Regards, Roman


More information about the Mercurial mailing list