wrong username in log
Martin Geisler
mg at lazybytes.net
Mon Nov 1 21:20:57 UTC 2010
Pete Brunet <pete at a11ysoft.com> writes:
> 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.
No problem, I'm glad we got it sorted out! :)
--
Martin Geisler
Mercurial links: http://mercurial.ch/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20101101/02120ac7/attachment.asc>
More information about the Mercurial
mailing list