Creating empty revisions by committing and invalid .hgsub file
Matt Mackall
mpm at selenic.com
Mon Apr 2 17:43:32 UTC 2012
On Mon, 2012-04-02 at 10:55 +0200, Angel Ezquerra wrote:
> On Sun, Apr 1, 2012 at 1:31 PM, Mads Kiilerich <mads at kiilerich.com> wrote:
> > Angel Ezquerra Moreu wrote, On 03/30/2012 08:38 AM:
> >
> >> Hi,
> >>
> >> today I managed to create several empty revisions by creating a
> >> malformed .hgsub file.
> >>
> [...]
> >
> > The problem can not be reproduced on Linux.
> >
> > Here Mercurial should have said "committing subrepository include\subrepo"
> > and .hgsubstate should contain "0000000000000000000000000000000000000000
> > include\subrepo".
> >
> > Please verify that you can reproduce the problem with the latest Mercurial.
> >
> [...]
> >
> > What do these changesets contain? "hg log -v --debug"?
> >
>
> Mads, thanks for your help.
>
> I just ran the test again. I modified my original script so that it
> explicitly calls the hg executable located on "c:\Program
> Files\Mercurial", and which shows that the mercurial version is 2.1.1.
> I also changed the calls to hg log into hg log -v --debug as you
> requested. The result is the same:
This is probably:
http://mercurial.selenic.com/bts/issue2403
which is fixed on the default branch.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list