This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 123744

Summary: Mercurial User Name options does not work
Product: versioncontrol Reporter: novakm <novakm>
Component: MercurialAssignee: issues@versioncontrol <issues>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Windows 3.1/NT   
Issue Type: DEFECT Exception Reporter:
Attachments: Proposed patch

Description novakm 2007-12-10 11:24:36 UTC
If you change Mercurial User Name in Tools | Options | VCS | Mercurial, it is saved (after reopening dialog there is the
new value), but if you commit and then invoke Show History, the old name is still used.

Mercurial Client version 0.9.5

Product Version: NetBeans IDE 6.0 (Build 200711261600)
Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-b05
System: Windows Vista version 6.0 running on x86; Cp1252; en_GB (nb)
Userdir: D:\install\6.0_200711261600\userdir
Comment 1 John Rice 2007-12-10 16:49:18 UTC
Created attachment 54098 [details]
Proposed patch
Comment 2 John Rice 2007-12-10 16:50:52 UTC
This patch will now allow both Global Option and Mercurial Project Property settings for username to take effect on
Commit. The Project settings will override the Global settings if they are set.
Comment 3 John Rice 2007-12-11 22:19:41 UTC
IDE:-------------------------------------------------
IDE: [11/12/07 22:19] Committing started
Checking in HgCommand.java;
/cvs/versioncontrol/mercurial/src/org/netbeans/modules/mercurial/util/HgCommand.java,v  <--  HgCommand.java
new revision: 1.62; previous revision: 1.61
done
IDE: [11/12/07 22:19] Committing finished
IDE: [11/12/07 22:19] Diffing finished
Comment 4 novakm 2008-01-07 07:57:38 UTC
Verified