Repository collection practices

Eric Hopper hopper at omnifarious.org
Mon Jun 26 13:38:45 CDT 2006


On Mon, Jun 26, 2006 at 01:31:59PM -0400, Josef "Jeff" Sipek wrote:
> I'm little bit more chaotic. I have a projects directory, where I dump
> my projects (one per directory). If I clone a project, I just give it
> a different name:
> 
> cd projects/
> hg clone hg hg-gitweb

That's what I was doing, but I really like using tab completion and all
the similarly named directories (merc-foo, merc-bar, etc...) were less
pleasant to use with tab completion.  Doing it that way also made it a
lot harder to collect all the branches associated with one project.  And
it became harder to even figure out exactly what a directory is for.
(i.e. Did I create this 'web' directory for Mercurial or Ptah?)

> That's on the desktop/laptop/workstations. On the server I have a
> directory for repos only. Which are for pull/push ops only. I use
> hgweb to export them via http and ssh to push to them. Although, I'm
> going to give push over https a try.

I do not like push over https at all.  I understand why the feature has
to be there.  But I find furthering the proliferation of usernames and
passwords to be very disturbing.  If I had my way, https would require
client-side certificates.  But SSL X.509 certificates are such a huge
pain to deal with that nobody would've been happy with it that way.

I have ~/hg_public for all of my published repositories.  I've thought
of creating an uber-hgweb module that would automatically look in users
directories for an hg_public directory and serve up everything in it as
a repository.

Have fun (if at all possible),
-- 
"It does me no injury for my neighbor to say there are twenty gods or no God.
It neither picks my pocket nor breaks my leg."  --- Thomas Jefferson
"Go to Heaven for the climate, Hell for the company."  -- Mark Twain
-- Eric Hopper (http://www.omnifarious.org/~hopper) --
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.selenic.com/pipermail/mercurial/attachments/20060626/e1552237/attachment.pgp


More information about the Mercurial mailing list