hg up - unexpected/cofusing error

Pierre-Yves David pierre-yves.david at ens-lyon.org
Wed Jun 7 16:31:46 UTC 2023


hg purge is not purging ignored file by default.

You can see the list of ignored file using `hg status --ignored` and you 
can purge them using `hg purge --all`.

Cheers,

On 5/26/23 00:01, Ernie Rael wrote:
> Hi All,
>
> 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
> err at harmony:/ref/nb/src/netbeans
> $ ls -l 
> webcommon/javascript2.editor/test/unit/data/testfiles/ecmascript6/parser/statement/with/with03.js.ast.xml
> -rw-rw-r-- 1 err err 942 Aug 14  2017 
> webcommon/javascript2.editor/test/unit/data/testfiles/ecmascript6/parser/statement/with/with03.js.ast.xml
> err at harmony:/ref/nb/src/netbeans
> $ hg file 
> webcommon/javascript2.editor/test/unit/data/testfiles/ecmascript6/parser/statement/with/with03.js.ast.xml
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at lists.mercurial-scm.org
> https://lists.mercurial-scm.org/mailman/listinfo/mercurial

-- 
Pierre-Yves David



More information about the Mercurial mailing list