In Preferences  (Window->Preferences->Team->Mercurial) there are two 
properties related to default commit user: "Prefer 'username' value from 
.hgrc as default user name" and "Default user name".  (In the former .hgrc 
refers to Mercurial.ini as well)

These properties are stored per workspace in this file relative to the 
workspace 
root: 
.metadata/.plugins/org.eclipse.core.runtime/.settings/com.vectrace.MercurialEclipse.prefs

The preference keys in the file are: hg.useMercurialUsernameForCommit 
and user.name respectively

On Monday, May 27, 2013 9:36:51 PM UTC-4, [email protected] wrote:
>
> When cloning a repository, the plugin requests a username, which is 
> typically an email address.
>
> This username is rarely in the standard form for a commit message, in that 
> the standard form is "Some Guy <[email protected] <javascript:>>".
>
> There is a "Default commit user" value on a per-project basis, which seems 
> to take it's value from the username supplied during cloning, and not from 
> the ui.username config value.
>
> I would like for my commits to be attributed to an author in the expected 
> format, and to do that I'm having to go into each project and set the 
> "Default commit user" to something other than the default.
>
> I have two questions:
>
>    1. Why isn't MercurialEclipse using the ui.username for the 
>    per-project "Default commit user"?
>    2. How do I ensure the "Default commit user" is set to a global 
>    default?
>    3. Where is MercurialEclipse storing/retrieving the default value for 
>    the "Default commit user"?
>
> TIA!
> -rb
>

-- 
You received this message because you are subscribed to the Google Groups 
"MercurialEclipse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to