wrong username in log
Pete Brunet
pete at a11ysoft.com
Mon Nov 1 18:14:01 UTC 2010
Martin Geisler wrote:
> 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.
>
Thanks Martin, That worked. I really appreciate you help with this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20101101/8b8c9c2c/attachment.html>
More information about the Mercurial
mailing list