<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: (D)VCS for $HOME mirroring</title>
	<atom:link href="http://blogs.freebsdish.org/rpaulo/2008/09/09/dvcs-for-home-mirroring/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.freebsdish.org/rpaulo/2008/09/09/dvcs-for-home-mirroring/</link>
	<description>YAFB! Yet Another FreeBSD Blog</description>
	<lastBuildDate>Wed, 24 Jun 2009 08:50:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Rui Paulo</title>
		<link>http://blogs.freebsdish.org/rpaulo/2008/09/09/dvcs-for-home-mirroring/comment-page-1/#comment-183</link>
		<dc:creator>Rui Paulo</dc:creator>
		<pubDate>Sun, 30 Nov 2008 12:49:07 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.freebsdish.org/rpaulo/?p=18#comment-183</guid>
		<description>For different machines, I basically do shell script machinery.
For different software installed, I don&#039;t really care. I just sync everything among every machine.
For private files, they, obviously, don&#039;t go into the repository. One could say that all the files in the repository are private, which is true, but some are more private than others.
Binary files don&#039;t go into my repo either. I deal with these by hand since I usually have none that could be versioned.</description>
		<content:encoded><![CDATA[<p>For different machines, I basically do shell script machinery.<br />
For different software installed, I don&#8217;t really care. I just sync everything among every machine.<br />
For private files, they, obviously, don&#8217;t go into the repository. One could say that all the files in the repository are private, which is true, but some are more private than others.<br />
Binary files don&#8217;t go into my repo either. I deal with these by hand since I usually have none that could be versioned.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mato</title>
		<link>http://blogs.freebsdish.org/rpaulo/2008/09/09/dvcs-for-home-mirroring/comment-page-1/#comment-182</link>
		<dc:creator>mato</dc:creator>
		<pubDate>Sun, 30 Nov 2008 12:27:27 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.freebsdish.org/rpaulo/?p=18#comment-182</guid>
		<description>Thanks, Rui!
However I was looking for some more advanced usage and ideas.
For instance, I get a new account on a new server and I want to set it up but .. some files are ok (like .vimrc), some might need to be a little different (a config file patched because of different hostname, screen resolution, installed sw, etc.) and some might not be appropriate at all (eg private).
Or what if I would like to transfer files which I don&#039;t want to be versioned (they might be binary, huge, change often or otherwise versioning them may not make sense or is undesirable).
These are some of the situations I&#039;ve been trying to solve but haven&#039;t succeeded to my full pleasure.
Cheers! :-)</description>
		<content:encoded><![CDATA[<p>Thanks, Rui!<br />
However I was looking for some more advanced usage and ideas.<br />
For instance, I get a new account on a new server and I want to set it up but .. some files are ok (like .vimrc), some might need to be a little different (a config file patched because of different hostname, screen resolution, installed sw, etc.) and some might not be appropriate at all (eg private).<br />
Or what if I would like to transfer files which I don&#8217;t want to be versioned (they might be binary, huge, change often or otherwise versioning them may not make sense or is undesirable).<br />
These are some of the situations I&#8217;ve been trying to solve but haven&#8217;t succeeded to my full pleasure.<br />
Cheers! <img src='http://blogs.freebsdish.org/rpaulo/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rui Paulo</title>
		<link>http://blogs.freebsdish.org/rpaulo/2008/09/09/dvcs-for-home-mirroring/comment-page-1/#comment-180</link>
		<dc:creator>Rui Paulo</dc:creator>
		<pubDate>Sat, 29 Nov 2008 22:46:16 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.freebsdish.org/rpaulo/?p=18#comment-180</guid>
		<description>mato,
Certainly. you basically need to::
% hg init
% hg add .exrc .vimrc .emacs (etc..)
% hg commit

Now you have your home under hg.

When you want replicate this to another machine, go to the other machine and type:
% hg clone ssh://machine_where_you_did_hg_init

Now every time, you change something in the first machine, you just need to do &#039;hg commit&#039;. On the second machine simply do &#039;hg pull &amp;&amp; hg up&#039;.

If you change something on the second machine, just do &#039;hg commit &amp;&amp; hg push&#039;. The changes will show up on the first machine. But please note that, you need to do an &#039;hg up&#039; and resolve any conflicts, if any, for the files to be actually modified.

That&#039;s basically how distributed scm works.</description>
		<content:encoded><![CDATA[<p>mato,<br />
Certainly. you basically need to::<br />
% hg init<br />
% hg add .exrc .vimrc .emacs (etc..)<br />
% hg commit</p>
<p>Now you have your home under hg.</p>
<p>When you want replicate this to another machine, go to the other machine and type:<br />
% hg clone ssh://machine_where_you_did_hg_init</p>
<p>Now every time, you change something in the first machine, you just need to do &#8216;hg commit&#8217;. On the second machine simply do &#8216;hg pull &amp;&amp; hg up&#8217;.</p>
<p>If you change something on the second machine, just do &#8216;hg commit &amp;&amp; hg push&#8217;. The changes will show up on the first machine. But please note that, you need to do an &#8216;hg up&#8217; and resolve any conflicts, if any, for the files to be actually modified.</p>
<p>That&#8217;s basically how distributed scm works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mato</title>
		<link>http://blogs.freebsdish.org/rpaulo/2008/09/09/dvcs-for-home-mirroring/comment-page-1/#comment-179</link>
		<dc:creator>mato</dc:creator>
		<pubDate>Sat, 29 Nov 2008 22:34:11 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.freebsdish.org/rpaulo/?p=18#comment-179</guid>
		<description>Could you possibly explain in more detail how you set it up and how actually you use it (hg) please ? :)</description>
		<content:encoded><![CDATA[<p>Could you possibly explain in more detail how you set it up and how actually you use it (hg) please ? <img src='http://blogs.freebsdish.org/rpaulo/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: keramida</title>
		<link>http://blogs.freebsdish.org/rpaulo/2008/09/09/dvcs-for-home-mirroring/comment-page-1/#comment-92</link>
		<dc:creator>keramida</dc:creator>
		<pubDate>Wed, 10 Sep 2008 21:28:05 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.freebsdish.org/rpaulo/?p=18#comment-92</guid>
		<description>Yep.  Mercurial can be useful for this sort of thing.

I managed to botch my Linux testing machine at home a few days ago.

Having `linuxhost:/home/keramida&#039; in an hg clone, was quite a refreshing thing.  I popped a gNewSense CD-ROM into the drive of the broken system, installed a development system (compilers, debuggers, and autotools) with that distribution, created a `keramida&#039; user and installed Hg with apt-get.

Then I just run from my backup/clone host:


    % cd /hg/home
    % scp linux-home.hgrc.sample linuxhost:.hgrc
    % scp linux-home.bundle linuxhost:
    % ssh linuxhost
    linuxhost&gt; hg init
    linuxhost&gt; hg pull linux-home.bundle &amp;&amp; \
        rm -f linux-home.bundle


Bang!  &#039;Instant&#039; setup of gdb, vim, Emacs, and a few other tools :-)

Naturally, this means that a backup script should bundle all the new changes and push them to the backup host every now and then.  But this is easy to set up, and I really liked having the full history around.</description>
		<content:encoded><![CDATA[<p>Yep.  Mercurial can be useful for this sort of thing.</p>
<p>I managed to botch my Linux testing machine at home a few days ago.</p>
<p>Having `linuxhost:/home/keramida&#8217; in an hg clone, was quite a refreshing thing.  I popped a gNewSense CD-ROM into the drive of the broken system, installed a development system (compilers, debuggers, and autotools) with that distribution, created a `keramida&#8217; user and installed Hg with apt-get.</p>
<p>Then I just run from my backup/clone host:</p>
<p>    % cd /hg/home<br />
    % scp linux-home.hgrc.sample linuxhost:.hgrc<br />
    % scp linux-home.bundle linuxhost:<br />
    % ssh linuxhost<br />
    linuxhost&gt; hg init<br />
    linuxhost&gt; hg pull linux-home.bundle &amp;&amp; \<br />
        rm -f linux-home.bundle</p>
<p>Bang!  &#8216;Instant&#8217; setup of gdb, vim, Emacs, and a few other tools <img src='http://blogs.freebsdish.org/rpaulo/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Naturally, this means that a backup script should bundle all the new changes and push them to the backup host every now and then.  But this is easy to set up, and I really liked having the full history around.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
