<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Mercurial help]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=3817</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=3817&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Mercurial help.]]></description>
		<lastBuildDate>Mon, 04 Feb 2013 21:40:09 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Mercurial help]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=15463#p15463</link>
			<description><![CDATA[<p>Hi Janusz:</p><p>This: hg clone https://frontaccounting.hg.sourceforge.net/hgroot/fontaccounting/frontaccounting repository4FA<br />gives:&nbsp; <br />real URL is https:/sourceforge.net/<br />abort: &#039;https:/sourceforge.net/&#039; does not appear to be an hg repository:<br />---%&lt;--- (no content-type)<br />download_hostpageprojectsmirror<br />---%&lt;---</p><p>this: hg clone https://frontaccounting.hg.sourceforge.net/hgweb/frontaccounting/frontaccounting 4repositoryFA<br /> works.</p><p>Then I get:<br />real URL is https://frontaccounting.hg.sourceforge.net:8000/hgroot/frontaccounting/frontaccounting<br />requesting all changes<br />adding changesets<br />adding manifests<br />adding file changes<br />added 3179 changesets with 13287 changes to 695 files (+2 heads)<br />updating to branch default<br />633 files updated, 0 files merged, 0 files removed, 0 files unresolved</p><p>then did and got:</p><p>/4repositoryFA$ hg branch local_branch<br />marked working directory as branch local_branch<br />(branches are permanent and global, did you want a bookmark?)</p><p>/4repositoryFA$ hg branch<br />local_branch</p><p>did an edit on class.mail.inc as I was talking about in another thread and did:</p><p>/4repositoryFA$ hg commit -m &quot;my local patches&quot;</p><p>Now I will just wait till there is a change in the FA repository on sourceforge to see out it works out.</p><p>Thanks for the help. So often various pages on the internet say to do a command and neglect to say what dir to run it from, who the user must be and what the file permissions much be.</p><p>ed10</p>]]></description>
			<author><![CDATA[null@example.com (ed10)]]></author>
			<pubDate>Mon, 04 Feb 2013 21:40:09 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=15463#p15463</guid>
		</item>
		<item>
			<title><![CDATA[Re: Mercurial help]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=15459#p15459</link>
			<description><![CDATA[<p>Mercurial does not need git installed of course. And you probably also do not, unless you use git for other projects <img src="https://frontaccounting.com/punbb/img/smilies/smile.png" width="15" height="15" alt="smile" />.</p><p>The instructions above contain all what is needed to have version control of your local code changes, and easily merge all new code from FA upstream when the changes appear in central repo. </p><p>When you clone FA repo, the result is new working directory, with local hg repository in .hg hidden subdir. When you have cloned&nbsp; repo, all subsequent Hg commands should be run inside the working directory tree (but outside .hg subdir). Therefore the start of the procedure in your case should probably looks like this:<br /></p><div class="codebox"><pre><code>cd /var/www
hg clone https://frontaccounting.hg.sourceforge.net/hgroot/fontaccounting/frontaccounting repository4FA
cd repository4FA
hg branch local_branch
.... etc...</code></pre></div><p>(providing you really want to access your FA with url like http://localhost/repository4FA/index.php )<br />Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Mon, 04 Feb 2013 21:10:54 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=15459#p15459</guid>
		</item>
		<item>
			<title><![CDATA[Re: Mercurial help]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=15455#p15455</link>
			<description><![CDATA[<p>apmuthu, your just trying to get me to work harder and learn more apps, i would rather just learn Mercurial and not GIT,Virtual Box or Wine.</p><p>Thanks for all your help.<br />ed10</p>]]></description>
			<author><![CDATA[null@example.com (ed10)]]></author>
			<pubDate>Mon, 04 Feb 2013 13:34:21 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=15455#p15455</guid>
		</item>
		<item>
			<title><![CDATA[Re: Mercurial help]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=15446#p15446</link>
			<description><![CDATA[<p>GIT repo can also be in a normal ubuntu desktop as well. Can run a Win &quot;Box&quot; on Ubuntu in VMWare / Virtual Box as well or Win Apps in Wine.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Mon, 04 Feb 2013 00:58:22 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=15446#p15446</guid>
		</item>
		<item>
			<title><![CDATA[Re: Mercurial help]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=15440#p15440</link>
			<description><![CDATA[<p>Be pretty tough to do since I don&#039;t run a win box.</p>]]></description>
			<author><![CDATA[null@example.com (ed10)]]></author>
			<pubDate>Sun, 03 Feb 2013 14:28:21 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=15440#p15440</guid>
		</item>
		<item>
			<title><![CDATA[Re: Mercurial help]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=15438#p15438</link>
			<description><![CDATA[<p>Safest way is to have your own GIT repo in a local win box. Take a WinMerge2 diff at each change pulled into GIT and upload the diffs alone. Have a set of non-fa-repo code that needs to be matched with changes in their scripts in the fa_repo and then merge carefully. Since such scripts will be only a handful, it might be better off than conflict resolution in HG. By the way IMHO, HG is not very user friendly to the newbie (YMMV). Git is fantastic. GitHub is a fine online store for it.</p><p>To make it easier for the community, I place the diffs in the FA Release Announcement posts from time to time. The Wiki has the bash scripts to do a pull and roll up of the bleeding edge HG code. My request for an online HG snapshot enablement in SF has gone unheeded till date.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sun, 03 Feb 2013 14:10:16 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=15438#p15438</guid>
		</item>
		<item>
			<title><![CDATA[Mercurial help]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=15433#p15433</link>
			<description><![CDATA[<p>Thought this was worth a separate thread.</p><div class="quotebox"><cite>itronics wrote:</cite><blockquote><p>If you are looking for easy way for maintaining local patches on top of latest FA, you should simply use mercurial. Just clone sourceforge repository on your development box and&nbsp; maintain your local changes in separate branch e.g.:<br /></p><div class="codebox"><pre><code>hg clone https://frontaccounting.hg.sourceforge.net/hgroot/fontaccounting/frontaccounting
hg branch local_branch</code></pre></div><p>Then apply all your local patches, and save the changes:<br /></p><div class="codebox"><pre><code>hg commit -m &quot;my local patches&quot;</code></pre></div><p>When new changes appears in repo and you want to update your local_branch:<br /></p><div class="codebox"><pre><code>hg pull
hg checkout local_branch
hg merge default</code></pre></div><p>When no conflicts happen between your changes and chnages in repo you are done. Otherwise you have to resolve conflicts and commit the effect of merge to the local_branch (more details about how to resolve the conflicts you will find in google).<br />Janusz</p></blockquote></div><p>This generated some questions. Suppose that the directory I clone Frontaccounting into is /repository4FA. Are all of the hg commands done in the that directory? Where would be the directory (same dir or different one?) that I would have the files I am working on?&nbsp; &nbsp;Do the directories need any particular permissions?&nbsp; I guess what I want to be sure about is how to construct the set of directories needed for Mercurial to work nicely for me and what files go into what directories.</p><p>If this whole thread is too off topic, just tell me.</p><p>Thanks,</p><p>ed10</p>]]></description>
			<author><![CDATA[null@example.com (ed10)]]></author>
			<pubDate>Sun, 03 Feb 2013 00:28:27 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=15433#p15433</guid>
		</item>
	</channel>
</rss>
