On Mon, 12 Jan 2015 16:16:17 -0500, John J Foerch wrote:
> Because of the shared account and shared repos arrangement, we have
> configured TortoiseHg to not have a default user, so that if someone
> tries to make a commit without signing it, TortoiseHg will bark at them.
> Often what happens though is that someone will go into the "Options"
> dialog, enter (or select) their name in the user field, and despite my
> instructions, proceed to hit either the "Save in Repo" or "Save
> Globally" button because they have forgotten what those buttons do,
> which then messes it up for the next person who forgets to sign their
> commit and we end up with commits signed with the wrong name.
> 
> Another undesired consequence of this way that we use TortoiseHg is that
> if the user closes the Commit or Workbench window, they must repeat the
> signing process the next time they want to commit.

For now, you can write a front-end script by PowerShell or something, that
will do

 1. show list of user names
 2. run thg --config "ui.username=<selected user>"
    (requires TortoiseHg 3.2 or later)

> My feature request is for a global option that would enable a more
> "dummy-proof" commit signing interface.  When this option was enabled,
> any time someone hit the "Commit" button, they would be presented with a
> dialog prompting them for the name to use to sign the commit.  Its
> default value would come from the repo's default user name or the global
> default user name, but whether or not such defaults existed, the dialog
> would always appear.

Not bad idea.  Maybe it can have a username dialog that will be displayed
if no username is set or "dummy-proof" option is enabled.

Regards,

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to