hg up - unexpected/cofusing error

Dr. Arne Babenhauserheide arne_bab at web.de
Fri May 26 05:42:04 UTC 2023


Ernie Rael <errael at raelity.com> writes:

> I wouldn't have thought the following is possible, since purge gets
> rid of untracked files.
>
> I just did "hg pull; hg pull upstream; hg up release180" where tip is
> from upstream. This is hg-git repository.
>
> Any idea how to clean this up? tried "hg git-cleanup", "hg verify" is OK.
>
> -ernie
>
> err at harmony:/ref/nb/src/netbeans
> $ hg purge
> err at harmony:/ref/nb/src/netbeans
> $ hg up release180
> ...
> webcommon/javascript2.editor/test/unit/data/testfiles/ecmascript6/parser/statement/with/with03.js.ast.xml:
> untracked file differs
> abort: untracked files in working directory differ from files in
> requested revision

This sounds like the git-error on git checkout, when git status sees an
untracked file, but I’m not sure why git throws that, because it should
be a bare repository.

Do you maybe have a git-subrepository?

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1125 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20230526/1f5b1aa3/attachment-0001.asc>


More information about the Mercurial mailing list