hg-admin-tools: manage access for multiple developers via ssh
Rolando Espinoza La Fuente
darkrho at gmail.com
Mon Jul 7 23:19:39 UTC 2008
On Mon, Jul 7, 2008 at 1:33 AM, Sean Kelley <sean.v.kelley at gmail.com> wrote:
[...]
>
> import re
>
> allowedchars = "A-Za-z0-9_-"
>
> goodpathre = re.compile("([%s]+/)*[%s]+$" % (allowedchars, allowedchars))
> def goodpath(path):
> return goodpathre.match(path) is not None
>
> Can you explain to me why this path fails?
>
>
> $ hg clone ssh://hg@hg.mysite.net/hg/platforms/vendorsrc/pulse/pulseaudio-0.9.8
The dots?
Try:
allowedchars = "A-Za-z0-9_-\."
--
Rolando Espinoza La fuente
Pro Soft Resources Inc.
www.prosoftpeople.com
More information about the Mercurial
mailing list