Problem with mq extension - qpop then qpush fails

Giorgos Keramidas keramida at ceid.upatras.gr
Tue Apr 24 08:14:32 CDT 2007


On 2007-04-24 13:56, Paul Moore <p.f.moore at gmail.com> wrote:
> I'm having trouble with (what I think is) a fairly simple use of mq.
> The sequence of events is:
>
> 1. I have a Mercurial repository that's up to date.
> 2. hg qinit
> 3. hg qnew codepage
> 4. Edit Lua.c
> 5. hg qrefresh
>
> -- at this point, hg diff shows the changes in the "codepage" patch.
>
> 6. hg qtop
>    codepage
>
> 7. hg qpop
>    Patch queue now empty
>
> 8. hg qpush
>    applying codepage
>    patch failed, unable to continue (try -v)
>    No username found, using 'UK03306 at UK004134.uk.int.atosorigin.com' instead

This iis the message printed by Hg when you don't have 'username' set in
the [ui] section of your ~/.hgrc file.  Try adding something like:

  [ui]
  username = Paul Moore <p.f.moore at gmail.com>

>    patch failed, rejects left in working dir
>    Errors during apply, please fix and refresh codepage
> [snip]


More information about the Mercurial mailing list