<?xml version='1.0' encoding='utf-8' standalone='yes'?>
<?xml-stylesheet type='text/xsl' href='/style/atom-comments.xsl'?>
<feed xmlns='http://www.w3.org/2005/Atom'>
<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>2008-09-30T12:41:52Z</updated>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<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/2007/08/09/mercurial#comment0001</id>
<published>2007-08-09T20:09:59Z</published>
<updated>2007-08-09T20:09:59Z</updated>
<author>
  <name>Vladimir Kotal</name>
  <foaf:mbox_sha1sum>40e81c38a9b962a0d84a3139761557e87125d44d</foaf:mbox_sha1sum>
  <uri>http://blogs.sun.com/vlad</uri>
</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 xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<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/2007/08/09/mercurial#comment0002</id>
<published>2007-08-09T20:52:35Z</published>
<updated>2007-08-09T20:52:35Z</updated>
<author>
  <name>Norman Walsh</name>
  <foaf:mbox_sha1sum>9f5c771a25733700b2f96af4f8e6f35c9b0ad327</foaf:mbox_sha1sum>
  <uri>http://norman.walsh.name/</uri>
</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 xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<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/2007/08/09/mercurial#comment0003</id>
<published>2007-08-10T19:32:40Z</published>
<updated>2007-08-10T19:32:40Z</updated>
<author>
  <name>Matthias</name>
  <foaf:mbox_sha1sum>9e989410bd9efe7c7b221e6f00cc1083bd66cf4c</foaf:mbox_sha1sum>
  <uri>http://mernst.org/blog/</uri>
</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 xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<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/2007/08/09/mercurial#comment0004</id>
<published>2007-08-10T19:52:54Z</published>
<updated>2007-08-10T19:52:54Z</updated>
<author>
  <name>Norman Walsh</name>
  <foaf:mbox_sha1sum>9f5c771a25733700b2f96af4f8e6f35c9b0ad327</foaf:mbox_sha1sum>
  <uri>http://norman.walsh.name/</uri>
</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 xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<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/2007/08/09/mercurial#comment0005</id>
<published>2007-08-22T13:10:00Z</published>
<updated>2007-08-22T13:10:00Z</updated>
<author>
  <name>SantiagoGala</name>
  <foaf:mbox_sha1sum>a9555983f930c4db738cf35af5589f308071b633</foaf:mbox_sha1sum>
  <uri>http://memojo.com/~sgala/blog/</uri>
</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 xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<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/2007/08/09/mercurial#comment0006</id>
<published>2007-09-06T21:34:27Z</published>
<updated>2007-09-06T21:34:27Z</updated>
<author>
  <name>Tyler Oderkirk</name>
  <foaf:mbox_sha1sum>f067633fc95b61be3e6466194ed55f164a727ec5</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 xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<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/2007/08/09/mercurial#comment0007</id>
<published>2008-09-30T12:41:52Z</published>
<updated>2008-09-30T12:41:52Z</updated>
<author>
  <name>Jesse Glick</name>
  <foaf:mbox_sha1sum>91cf24353c699cf2f2ff76abb9e20da1e8114a8b</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>
