<?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: svk sync smerge</title>
	<atom:link href="http://stateless.geek.nz/2005/06/12/svk-sync-smerge/feed/" rel="self" type="application/rss+xml" />
	<link>http://stateless.geek.nz/2005/06/12/svk-sync-smerge/</link>
	<description></description>
	<lastBuildDate>Mon, 06 Feb 2012 01:02:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Nicholas Lee</title>
		<link>http://stateless.geek.nz/2005/06/12/svk-sync-smerge/comment-page-1/#comment-2902</link>
		<dc:creator>Nicholas Lee</dc:creator>
		<pubDate>Tue, 01 Sep 2009 21:54:41 +0000</pubDate>
		<guid isPermaLink="false">http://stateless.geek.nz/2005/06/12/svk-sync-smerge/#comment-2902</guid>
		<description>What exact do you mean by &quot;auto sync&quot;. auto merge or auto commit? 

If you use cron you can set up either a git pull or git push command in a script - but merging will still need to be done by a developer.</description>
		<content:encoded><![CDATA[<p>What exact do you mean by &#8220;auto sync&#8221;. auto merge or auto commit? </p>
<p>If you use cron you can set up either a git pull or git push command in a script &#8211; but merging will still need to be done by a developer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Krishna Pothula</title>
		<link>http://stateless.geek.nz/2005/06/12/svk-sync-smerge/comment-page-1/#comment-2901</link>
		<dc:creator>Krishna Pothula</dc:creator>
		<pubDate>Tue, 01 Sep 2009 18:24:53 +0000</pubDate>
		<guid isPermaLink="false">http://stateless.geek.nz/2005/06/12/svk-sync-smerge/#comment-2901</guid>
		<description>Hi Nicholas, 
 
I am trying out Git. Our requirement is to have a Central Repository and multiple remote repositories. Do you know of a way to auto sync Central with remote repositories using Git? 
 
Thanks </description>
		<content:encoded><![CDATA[<p>Hi Nicholas, </p>
<p>I am trying out Git. Our requirement is to have a Central Repository and multiple remote repositories. Do you know of a way to auto sync Central with remote repositories using Git? </p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicholas_Lee</title>
		<link>http://stateless.geek.nz/2005/06/12/svk-sync-smerge/comment-page-1/#comment-2891</link>
		<dc:creator>Nicholas_Lee</dc:creator>
		<pubDate>Tue, 11 Aug 2009 21:40:59 +0000</pubDate>
		<guid isPermaLink="false">http://stateless.geek.nz/2005/06/12/svk-sync-smerge/#comment-2891</guid>
		<description>Yes git allows multiple remote repositories.   
 
If you need to run the cron job as root. Then add it to the root crontab: &quot;sudo crontab -e -u root&quot;. 
 
If you need to run it as another user, run it as root and use sudo -u USER. 
 
If you run a script with sudo and if requires a password, then it will just fail. </description>
		<content:encoded><![CDATA[<p>Yes git allows multiple remote repositories.   </p>
<p>If you need to run the cron job as root. Then add it to the root crontab: &quot;sudo crontab -e -u root&quot;. </p>
<p>If you need to run it as another user, run it as root and use sudo -u USER. </p>
<p>If you run a script with sudo and if requires a password, then it will just fail.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kim</title>
		<link>http://stateless.geek.nz/2005/06/12/svk-sync-smerge/comment-page-1/#comment-2890</link>
		<dc:creator>Kim</dc:creator>
		<pubDate>Tue, 11 Aug 2009 19:35:38 +0000</pubDate>
		<guid isPermaLink="false">http://stateless.geek.nz/2005/06/12/svk-sync-smerge/#comment-2890</guid>
		<description>Ok the reason why I had to get SVK was cause we had repository in a remote server and trac wouldn&#039;t work with that. Would GIT allow me to user a remote repository? 
 
Everything got tangled up because when I first set up svk, I moved the .svk or svk depot path to somewhere I don&#039;t have permission and that&#039;s why it requires me to sudo to sync, and that&#039;s why cron doesnt work. 
So I un-installed svk and re-installed it to start all over but,,, hopefully things will work out. 
 
If nothing works my last resort is git so I was wondering if it works with remote repo. 
 
Thanks a lot for the fast reply </description>
		<content:encoded><![CDATA[<p>Ok the reason why I had to get SVK was cause we had repository in a remote server and trac wouldn&#039;t work with that. Would GIT allow me to user a remote repository? </p>
<p>Everything got tangled up because when I first set up svk, I moved the .svk or svk depot path to somewhere I don&#039;t have permission and that&#039;s why it requires me to sudo to sync, and that&#039;s why cron doesnt work.<br />
So I un-installed svk and re-installed it to start all over but,,, hopefully things will work out. </p>
<p>If nothing works my last resort is git so I was wondering if it works with remote repo. </p>
<p>Thanks a lot for the fast reply</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kim</title>
		<link>http://stateless.geek.nz/2005/06/12/svk-sync-smerge/comment-page-1/#comment-2889</link>
		<dc:creator>Kim</dc:creator>
		<pubDate>Tue, 11 Aug 2009 18:26:36 +0000</pubDate>
		<guid isPermaLink="false">http://stateless.geek.nz/2005/06/12/svk-sync-smerge/#comment-2889</guid>
		<description>Ok the reason why I had to get SVK was cause we had repository in a remote server and trac wouldn&#039;t work with that. Would GIT allow me to user a remote repository?  
I&#039;m reading &lt;a href=&quot;http://trac-hacks.org/wiki/GitPlugin&quot; target=&quot;_blank&quot;&gt;http://trac-hacks.org/wiki/GitPlugin&lt;/a&gt; but it says point trac to your local git repository. 
 
Yeah I&#039;m trying to get rid of sudo to call svk sync. If i don&#039;t have to do that things are cron would work. 
 
Thanks again for your help </description>
		<content:encoded><![CDATA[<p>Ok the reason why I had to get SVK was cause we had repository in a remote server and trac wouldn&#039;t work with that. Would GIT allow me to user a remote repository?<br />
I&#039;m reading <a href="http://trac-hacks.org/wiki/GitPlugin" target="_blank">http://trac-hacks.org/wiki/GitPlugin</a> but it says point trac to your local git repository. </p>
<p>Yeah I&#039;m trying to get rid of sudo to call svk sync. If i don&#039;t have to do that things are cron would work. </p>
<p>Thanks again for your help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicholas_Lee</title>
		<link>http://stateless.geek.nz/2005/06/12/svk-sync-smerge/comment-page-1/#comment-2888</link>
		<dc:creator>Nicholas_Lee</dc:creator>
		<pubDate>Tue, 11 Aug 2009 17:00:10 +0000</pubDate>
		<guid isPermaLink="false">http://stateless.geek.nz/2005/06/12/svk-sync-smerge/#comment-2888</guid>
		<description>Yes git will work with Trac. See google for the plugin. 
 
sudo might be causing the problem. </description>
		<content:encoded><![CDATA[<p>Yes git will work with Trac. See google for the plugin. </p>
<p>sudo might be causing the problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kim</title>
		<link>http://stateless.geek.nz/2005/06/12/svk-sync-smerge/comment-page-1/#comment-2887</link>
		<dc:creator>Kim</dc:creator>
		<pubDate>Tue, 11 Aug 2009 16:54:14 +0000</pubDate>
		<guid isPermaLink="false">http://stateless.geek.nz/2005/06/12/svk-sync-smerge/#comment-2887</guid>
		<description>thank you so much for the quick reply. 
I think the problem is having sudo in there. It works completely fine on cmd. 
 
I&#039;ve noticed that many svk users have moved to git. Is git compatible with trac? 
 
Thanks so much </description>
		<content:encoded><![CDATA[<p>thank you so much for the quick reply.<br />
I think the problem is having sudo in there. It works completely fine on cmd. </p>
<p>I&#039;ve noticed that many svk users have moved to git. Is git compatible with trac? </p>
<p>Thanks so much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicholas_Lee</title>
		<link>http://stateless.geek.nz/2005/06/12/svk-sync-smerge/comment-page-1/#comment-2886</link>
		<dc:creator>Nicholas_Lee</dc:creator>
		<pubDate>Tue, 11 Aug 2009 15:51:51 +0000</pubDate>
		<guid isPermaLink="false">http://stateless.geek.nz/2005/06/12/svk-sync-smerge/#comment-2886</guid>
		<description>I&#039;m mostly using git now.  Not sure I can help you, but the basic principle of any cron script is to make sure it runs on the command line first. </description>
		<content:encoded><![CDATA[<p>I&#039;m mostly using git now.  Not sure I can help you, but the basic principle of any cron script is to make sure it runs on the command line first.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kim</title>
		<link>http://stateless.geek.nz/2005/06/12/svk-sync-smerge/comment-page-1/#comment-2885</link>
		<dc:creator>Kim</dc:creator>
		<pubDate>Tue, 11 Aug 2009 15:09:13 +0000</pubDate>
		<guid isPermaLink="false">http://stateless.geek.nz/2005/06/12/svk-sync-smerge/#comment-2885</guid>
		<description>Hi,  
 
I hope this will reach you, I didn&#039;t know how to contact you via email. 
 
I am using svk to mirror repository in a different server for trac. 
I&#039;ve been trying to setup cronjob to sync it with the repo forever but it is not working. 
The script I have is: 
--------- 
#!/bin/bash 
PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin 
sudo sh 
svk sync //mirror 
------ 
crontab: 
PATH=/usr/sbin:/usr/bin:/bin:/sbin 
00 * * * * /path/to/script/svkcron &gt; /home/akim/cron.log 
echo &quot;update complete: $(date)&quot; 
--------- 
 
and the output is 
-------- 
Starting to synchronize //mirror 
Syncincg svn://path.to.rep/dev 
update complete: Tue Aug 11 11:00:00 EDT 2009 
 
I got it until it says &quot;Syncing svn..&quot; but it isn&#039;t retrieving any information. 
I am running it from the root&#039;s crontab with out the sudo command in a different script but that only output 
&quot;Repository doesn&#039;t exist, create? (y/n)&quot; 
and i can&#039;t create mirror as the root. (I read it somewhere on svk hp) 
 
 
If you can help me please do, any help is extremely appreciated... 
 
Thank you, 
 
 
 
 </description>
		<content:encoded><![CDATA[<p>Hi,  </p>
<p>I hope this will reach you, I didn&#039;t know how to contact you via email. </p>
<p>I am using svk to mirror repository in a different server for trac.<br />
I&#039;ve been trying to setup cronjob to sync it with the repo forever but it is not working.<br />
The script I have is:<br />
&#8212;&#8212;&#8212;<br />
#!/bin/bash<br />
PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin<br />
sudo sh<br />
svk sync //mirror<br />
&#8212;&#8212;<br />
crontab:<br />
PATH=/usr/sbin:/usr/bin:/bin:/sbin<br />
00 * * * * /path/to/script/svkcron &gt; /home/akim/cron.log<br />
echo &quot;update complete: $(date)&quot;<br />
&#8212;&#8212;&#8212; </p>
<p>and the output is<br />
&#8212;&#8212;&#8211;<br />
Starting to synchronize //mirror<br />
Syncincg <a href="svn://path.to.rep/dev" rel="nofollow">svn://path.to.rep/dev</a><br />
update complete: Tue Aug 11 11:00:00 EDT 2009 </p>
<p>I got it until it says &quot;Syncing svn..&quot; but it isn&#039;t retrieving any information.<br />
I am running it from the root&#039;s crontab with out the sudo command in a different script but that only output<br />
&quot;Repository doesn&#039;t exist, create? (y/n)&quot;<br />
and i can&#039;t create mirror as the root. (I read it somewhere on svk hp) </p>
<p>If you can help me please do, any help is extremely appreciated&#8230; </p>
<p>Thank you,</p>
]]></content:encoded>
	</item>
</channel>
</rss>

