While switching from the terminal version of Mercurial to the Mercurial bundle, I have found out that it doesn't seem to support user authentication. While many repos do not use authentication, the one I am working on uses authentication when pushing to the central repo.
Am I missing something, or is it simply something that isn't supported?
Your very best, Sangwhan
On 24 Feb 2008, at 06:19, S. Moon wrote:
While switching from the terminal version of Mercurial to the Mercurial bundle, I have found out that it doesn't seem to support user authentication. While many repos do not use authentication, the one I am working on uses authentication when pushing to the central repo.
Am I missing something, or is it simply something that isn't supported?
Hi Sangwhan,
What kind of authentication are you talking about?
SSH, HTTP(S)?
-- FredB
Fred B wrote:
On 24 Feb 2008, at 06:19, S. Moon wrote:
While switching from the terminal version of Mercurial to the Mercurial bundle, I have found out that it doesn't seem to support user authentication. While many repos do not use authentication, the one I am working on uses authentication when pushing to the central repo.
Am I missing something, or is it simply something that isn't supported?
Hi Sangwhan,
What kind of authentication are you talking about?
SSH, HTTP(S)?
-- FredB
I believe it's HTTP authentication. This is what I get when I use hg on a console.
http authorization required realm: mercurial.intuxication.org user: cynthia
-Sangwhan Moon
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On 26 Feb 2008, at 04:18, S. Moon wrote:
Fred B wrote:
On 24 Feb 2008, at 06:19, S. Moon wrote:
While switching from the terminal version of Mercurial to the Mercurial bundle, I have found out that it doesn't seem to support user authentication.
What kind of authentication are you talking about? SSH, HTTP(S)?
I believe it's HTTP authentication.
Username and password are asked interactively on the command line, I can't see an easy way to include this functionality in the bundle. If someone have an idea or a patch, feel free to contact me.
OT: mercurial.intuxication.org is nice, I created an hg repo of the bundle here: http://mercurial.intuxication.org/hg/mercurial-tmbundle/
Now you can:
mkdir -p /Library/Application\ Support/TextMate/Bundles cd !$ hg clone http://mercurial.intuxication.org/hg/mercurial-tmbundle Mercurial.tmbundle osascript -e 'tell app "TextMate" to reload bundles'
On 26 Feb 2008, at 16:06, Fred B wrote:
[...] Username and password are asked interactively on the command line, I can't see an easy way to include this functionality in the bundle. If someone have an idea or a patch, feel free to contact me.
Luke Daley just checked in some code under Review/Tools which allow a process to monitor when the monitored process reads from stdin (actually, it brings up a requester as it is now).
The intent of the code is to have a generalized way to let scripts run via the ScriptMate derivatives be able to read from stdin (and prompt the user), but I think this will work quite well for learning when hg, svn, git, etc. prompts the user for name/password.
In the Subversion bundle there is code that tries to learn this based on the output text from svn, but it is flakey at best.
While we will start by having commands manually use this code, I imagine this will eventually just be an(other) input source for commands.