My experiences with Mercurial

Brendan Cully brendan at kublai.com
Mon Jun 18 16:54:01 UTC 2007


It probably needs more testing and error handling code. But it's an
extension, so it's trivial to use even if it's not bundled into a
release.

http://www.selenic.com/mercurial/wiki/index.cgi/DigestExtension

On Monday, 18 June 2007 at 09:19, Mirza Hadzic wrote:
> Wow, sounds great, I don't think any other SCM have this. I will find 
> time to test it. can we expect this to be in next release?
> 
> Mirza
> 
> Brendan Cully wrote:
> > On Sunday, 17 June 2007 at 18:38, mirza wrote:
> >> Hi,
> >>> So really what we need is a simple & secure way  for the users 
> >>> (developers in this case) to share their changesets.  "hg serve" seems 
> >>> to fit the definition of simple but not secure. The  trouble of 
> >>> setting up IIS/Apache and configuring SSL or setting up  ssh servers 
> >>> on each developer's machine (win & unix) outweighs the  benefits of 
> >>> using mercurial. We were mainly looking to remove the  need for the 
> >>> central server.
> >> I had this problem too, so I proposed exchanging bundles via email/ftp 
> >> with --create-digest option. It is Issue 392 now and I don't have idea 
> >> when/if it will be implemented. That would certainly solve problem for 
> >> all those people that doesn't want even to _think_ about setting up 
> >> Apache for this (sounds sooooo undistributed to me).
> > 
> > Something like that doesn't sound too tricky. Here's a prototype
> > extension I knocked up a few minutes ago. From 'hg help digest' with
> > the extension loaded:
> > 
> > hg digest FILE
> > 
> > Create a digest of the repository
> > 
> >     A digest is a small file containing a summary of the nodes in the
> >     repository. It may be used with outgoing or bundle in other repositories.
> >     The digest will be written into FILE.
> > 
> >     Example usage:
> >     cd repo1
> >     hg digest ../repo1.digest
> >     cd ../repo2
> >     hg bundle ../to-repo1.hg digest://../repo1.digest
> > 
> > I can't say it's particularly well tested though.
> > 
> 
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial



More information about the Mercurial mailing list