wrong username in log

Martin Geisler mg at aragost.com
Mon Nov 1 12:41:07 CDT 2010


Pete Brunet <pete at a11ysoft.com> writes:

> This is what I've done to date:
>
> In my original work directory I had a set of changes that I didn't to
> anything with regarding Mercurial (other than the original fclone). I
> was asked to make a patch so I did the following:
>
> cd ...\jdk7\jdk
> hg init --mq  // creates patch directory
> hg add subdirs/file_name // add new file (for each of n files)
> hg status // sanity check what's been added/modified
> hg qnew -f patch_name // create the patch, -f needed the first time
> ... edit ...
> hg qrefresh
>
> Then I wanted to test the transfer of the patch (and I also wanted to
> start with the latest code) so I did the following
>
> md/cd c:\OpenJDK // a new directory
> hg fclone http://hg.openjdk.java.net/jdk7/jdk7/ jdk7
> cd ...\jdk7\jdk
> hg init --mq  // creates patch directory
> hg qimport full_path_of_patch
> hq qpush patch_name
>
> The username might have been the old one when I did the first fclone,
> but I had changed it by the time I created the patch (about a week
> ago).

Okay... the only explanation I can come up with is that the old username
is stored in the MQ patch.

Luckily, it's super easy to update the username in a MQ patch. Just do
'hg qrefresh -U' to reset it to the current username as configured in
configuration hgrc file.

-- 
Martin Geisler

aragost Trifork
Professional Mercurial support
http://aragost.com/mercurial/


More information about the Mercurial mailing list