»
S
I
D
E
B
A
R
«
Sharing a public Darcs repo over HTTP [flow chart]
March 11th, 2008 by masukomi

sharing a public Darcs repo over http
The same friend who wondered about how to share a Git repo over HTTP dared to suggest that “It’s so easy with Hg…”. While I happen to disagree that it’s easier in Hg than Git, I think this flow chart successfully demonstrates that, on this front, Hg and Git both suck ass when compared to Darcs.
P.S. Yes, while 100% factual, the graph is also intentionally silly.
[update] After considering it more I think think it probably is easier to share a repo with Hg than Git, but I dislike the fact that it involves mucking about with things outside of the repo. You have to set up a CGI. You have to alter a config file that tells it what repos to share and where…. Yes, there’s a built in server you could use but that’s really an edge case. Most of the time you’ll want to leverage an existing web server.

3 Responses  
  • Scott Bronson writes:
    March 12th, 2008 at 1:33 pm

    This flowchart works for git too. If you copy a git repo up to your server, you can immediately clone it:

    scp -r my-git-project me@example.com:
    cd /tmp
    git clone http://example.com/my-git-project/.git

    I don’t see how that’s any harder than Darcs…?

  • masukomi writes:
    March 13th, 2008 at 8:18 am

    The problem with that is that you can’t push to it. Unless you’re working with a bare repo Git will accept your pushes but it won’t commit them. Or, that’s my understanding of it. Yes, you could just keep re-uploading, and over-writing the repo on the server but that seems a crude work-around.

  • Mark Stosberg writes:
    March 18th, 2008 at 9:08 pm

    Amusing. I love it!

    Mark


Leave a Reply

»  Substance: WordPress   »  Style: Ahren Ahimsa
© Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.