<feed xmlns="http://www.w3.org/2005/Atom" xmlns:foaf="http://xmlns.com/foaf/0.1/"><title>norman.walsh.name: Comments on /2007/08/09/mercurial</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2007/08/09/mercurial"/><id>http://norman.walsh.name/2007/08/09/mercurial/comments.atom</id><updated>2012-02-13T08:27:52.081939Z</updated><entry><title>Comment 1 on /2007/08/09/mercurial</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2007/08/09/mercurial#comment0001"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0001</id><published>2007-08-09T20:09:59Z</published><updated>2007-08-09T20:09:59Z</updated><author><name>Vladimir Kotal</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">I have this in my crontab which provides backup of my Mercurial repository:

<pre>
# weekly Friday ZFS snapshot of ON-bldscripts gate
1 7 * * 4       /sbin/zfs snapshot local/Public/ON10-bldscripts@`/usr/bin/date +%Y-%m-%d`
</pre></div></content></entry><entry><title>Comment 2 on /2007/08/09/mercurial</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2007/08/09/mercurial#comment0002"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0002</id><published>2007-08-09T20:52:35Z</published><updated>2007-08-09T20:52:35Z</updated><author><name>Norman Walsh</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>Mmmmm. ZFS. Sweeeet :-)
</p>
    <p>
The point wasn't just that I wanted to backup the repository, it was that the integrity of the repository <em>which is my backup of the real data</em> needs to be tested every time it's updated.</p>
  </div></content></entry><entry><title>Comment 3 on /2007/08/09/mercurial</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2007/08/09/mercurial#comment0003"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0003</id><published>2007-08-10T19:32:40Z</published><updated>2007-08-10T19:32:40Z</updated><author><name>Matthias</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>Are you saying mercurial is not transactional? That's a little bit scary.</p>
  </div></content></entry><entry><title>Comment 4 on /2007/08/09/mercurial</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2007/08/09/mercurial#comment0004"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0004</id><published>2007-08-10T19:52:54Z</published><updated>2007-08-10T19:52:54Z</updated><author><name>Norman Walsh</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>It's transactional; it has atomic commits and all the goodness you expect. I'm saying if you sigkill -9 the server while it's in the middle of a push, things can go horribly awry in a way that isn't detected.
</p>
    <p>
I think it <b>should</b> be detected, but...</p>
  </div></content></entry><entry><title>Comment 5 on /2007/08/09/mercurial</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2007/08/09/mercurial#comment0005"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0005</id><published>2007-08-22T13:10:00Z</published><updated>2007-08-22T13:10:00Z</updated><author><name>SantiagoGala</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>I thought it was a distributed system. Calling it "server" seems to be a stretch.
</p>
    <p>
I'd say <code>kill'ing -9 the pulled side</code> should give an error in the pushing side, or the system can't be called transactional.
</p>
    <p>
I still find really scary that a revision control system ends without a "proper" error when it breaks <em>and after it is broken</em>.</p>
  </div></content></entry><entry><title>Comment 6 on /2007/08/09/mercurial</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2007/08/09/mercurial#comment0006"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0006</id><published>2007-09-06T21:34:27Z</published><updated>2007-09-06T21:34:27Z</updated><author><name>Tyler Oderkirk</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>Very helpful! I've just signed up for a VPS (Virtual Private Server eg a Xen DomU) with limited memory and this is something I worried about. Thanks :]
</p>
    <p>
-Tyler</p>
  </div></content></entry><entry><title>Comment 7 on /2007/08/09/mercurial</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2007/08/09/mercurial#comment0007"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0007</id><published>2008-09-30T12:41:52Z</published><updated>2008-09-30T12:41:52Z</updated><author><name>Jesse Glick</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>Note that system(...) in Perl returns 1+ in case the command failed. Perhaps you wanted:
</p>
    <p>
system('hg verify') and die "$!";</p>
  </div></content></entry></feed>

