<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-24354</id>
	<title>Nabble - Mercurial</title>
	<updated>2009-11-28T04:41:23Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Mercurial-f24354.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Mercurial-f24354.html" />
	<subtitle type="html">Mailing list for &lt;a href=&quot;http://www.selenic.com/mercurial/wiki/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial&lt;/a&gt;: a fast, lightweight Source Control Management system designed for efficient handling of very large distributed projects.
Mercurial is similar to git, monotone and Bazaare NG.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26552801</id>
	<title>Re: pulling changes to branch of my choice?</title>
	<published>2009-11-28T04:41:23Z</published>
	<updated>2009-11-28T04:41:23Z</updated>
	<author>
		<name>dilipm</name>
	</author>
	<content type="html">On Sat, Nov 28, 2009 at 3:46 AM, Gilles Moris &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26552801&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gilles.moris@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; So now, I just declare the bundled rebase extension in my .hgrc and simply
&lt;br&gt;&amp;gt; use the added --rebase option when I pull, to restack my currently pushed
&lt;br&gt;&amp;gt; patches:
&lt;br&gt;&amp;gt; % hg pull --rebase
&lt;br&gt;&lt;br&gt;&lt;br&gt;Perfect! Thank you.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Dilip
&lt;br&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26552801&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/pulling-changes-to-branch-of-my-choice--tp26454076p26552801.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26552494</id>
	<title>Re: knowing last chanegset pulled from remote</title>
	<published>2009-11-28T03:50:23Z</published>
	<updated>2009-11-28T03:50:23Z</updated>
	<author>
		<name>Martin Geisler-4</name>
	</author>
	<content type="html">Igor Lautar &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26552494&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;igor.lautar@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Wed, Nov 25, 2009 at 9:51 PM, Igor Lautar &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26552494&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;igor.lautar@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; On Wed, Nov 25, 2009 at 9:11 PM, Martin Geisler &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26552494&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mg@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Perhaps you can add a local tag to mark the newest pulled changeset.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; There is a post-pull hook (there are pre-* and post-* hooks for all
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; commands) which you could use to local tag 'tip' as 'latest-pulled'.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; You'll want something like
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;  [hooks]
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;  post-pull = hg tag --local --force --rev tip latest-pulled
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Sounds like it could fit in, I'll give it a go and report back.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Update.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Tagging proposed works for tip, but what if I pull multiple heads with
&lt;br&gt;&amp;gt; single pull? I would like to tag all heads pulled.
&lt;/div&gt;&lt;/div&gt;I'm afraid you'll need to do a bit of scripting...
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Martin Geisler
&lt;br&gt;&lt;br&gt;VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
&lt;br&gt;SMPC (Secure Multiparty Computation) to Python. See: &lt;a href=&quot;http://viff.dk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://viff.dk/&lt;/a&gt;.
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26552494&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (203 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26552494/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/knowing-last-chanegset-pulled-from-remote-tp26518295p26552494.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26552486</id>
	<title>Re: Patchbomb email format</title>
	<published>2009-11-28T03:48:32Z</published>
	<updated>2009-11-28T03:48:32Z</updated>
	<author>
		<name>Martin Geisler-4</name>
	</author>
	<content type="html">Chris Webb &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26552486&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;chris@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I've been trying out the patchbomb extension for the first time, and
&lt;br&gt;&amp;gt; I'm attempting to get it to format patches in the standard style
&lt;br&gt;&amp;gt; that's popular on linux-kernel, including a diffstat:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; Subject: CHANGELOG[0]
&lt;br&gt;&amp;gt; &amp;nbsp; [other header lines]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; CHANGELOG[1:]
&lt;br&gt;&amp;gt; &amp;nbsp; ---
&lt;br&gt;&amp;gt; &amp;nbsp; DIFFSTAT
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; PATCH
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I tried
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; hg email --plain --diffstat --git --test --rev qbase --to '' --cc ''
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; but this generates a format with the diffstat ahead of the changelog
&lt;br&gt;&amp;gt; and a strange double newline after the diffstat:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; Subject: CHANGELOG[0]
&lt;br&gt;&amp;gt; &amp;nbsp; [other header lines]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; DIFFSTAT
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; CHANGELOG[1:]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; PATCH
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Am I using the wrong options?
&lt;/div&gt;&lt;/div&gt;Nope, you cannot get the format you ask for without patching patchbomb.
&lt;br&gt;&lt;br&gt;&amp;gt; Reading the code, it doesn't look like any combination of flags will
&lt;br&gt;&amp;gt; give a 'standard' email patch with diffstat after the changelog,
&lt;br&gt;&amp;gt; separated by the &amp;quot;don't include this text in the changelog separator&amp;quot;
&lt;br&gt;&amp;gt; (---).
&lt;br&gt;&lt;br&gt;I've never heard of the &amp;quot;---&amp;quot;-separator before and I don't think
&lt;br&gt;Mercurial will recognize it when importing patches. I guess it's a
&lt;br&gt;standard in the Git community?
&lt;br&gt;&lt;br&gt;&amp;gt; If I'm right that this is currently not achievable, I'm happy to send
&lt;br&gt;&amp;gt; a patch to change the format to put the diffstat below the changelog,
&lt;br&gt;&amp;gt; but is it worth making it optional? Diffstat at the top seems quite an
&lt;br&gt;&amp;gt; odd behaviour, but maybe some people prefer it?
&lt;br&gt;&lt;br&gt;Without the --plain option, I think the current format makes more sense:
&lt;br&gt;&lt;br&gt;&amp;nbsp; Subject: [PATCH] CHANGELOG[0]
&lt;br&gt;&lt;br&gt;&amp;nbsp; DIFFSTAT
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; # HG changeset patch
&lt;br&gt;&amp;nbsp; # User Martin Geisler &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26552486&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mg@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;nbsp; # Date 1259273459 -3600
&lt;br&gt;&amp;nbsp; # Node ID 5e4ef56b4d420ca8f28964114a49c26508ab34c0
&lt;br&gt;&amp;nbsp; # Parent &amp;nbsp;15a1fe1fee5ce89e0069a4a856f39faeb8261b56
&lt;br&gt;&amp;nbsp; CHANGELOG[1:]
&lt;br&gt;&lt;br&gt;&amp;nbsp; PATCH
&lt;br&gt;&lt;br&gt;The idea is that the chunk from &amp;quot;# HG changeset patch&amp;quot; until the end is
&lt;br&gt;the patch -- the extra information (diffstat) is put outside of the
&lt;br&gt;patch. So the result is very similar to simply composing a mail and then
&lt;br&gt;inserting the output of 'hg export' at the bottom.
&lt;br&gt;&lt;br&gt;However, for your purpose, I can see why the it looks better to have the
&lt;br&gt;diffstat &amp;quot;mixed&amp;quot; with the commit message. If we can recognize it
&lt;br&gt;reliably by the &amp;quot;---&amp;quot; line and filter out the diffstat, then I would be
&lt;br&gt;happy to support this format.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Martin Geisler
&lt;br&gt;&lt;br&gt;VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
&lt;br&gt;SMPC (Secure Multiparty Computation) to Python. See: &lt;a href=&quot;http://viff.dk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://viff.dk/&lt;/a&gt;.
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26552486&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (203 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26552486/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Patchbomb-email-format-tp26534295p26552486.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26551992</id>
	<title>Re: RFC: Would you care if mq stopped storing patch files physically on disk?</title>
	<published>2009-11-28T02:43:42Z</published>
	<updated>2009-11-28T02:43:42Z</updated>
	<author>
		<name>Benoit Boissinot</name>
	</author>
	<content type="html">On Fri, Nov 27, 2009 at 06:59:12PM -0800, Peter Hosey wrote:
&lt;br&gt;&amp;gt; On Nov 27, 2009, at 08:50:12, Benoit Boissinot wrote:
&lt;br&gt;&amp;gt; &amp;gt;Or maybe do merge with the same patch applied to the previous parent.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm not sure what you're suggesting here. I'm talking about patches
&lt;br&gt;&amp;gt; in mq, which have no explicit parent.
&lt;br&gt;&lt;br&gt;It doesn't that hg couldn't store the previous parent somewhere.
&lt;br&gt;&lt;br&gt;&amp;gt; And the usual case when I have to edit a patch is when I've just
&lt;br&gt;&amp;gt; edited the immediately-preceding patch.
&lt;br&gt;&lt;br&gt;Indeed it doesn't work for this case.
&lt;br&gt;&lt;br&gt;regards,
&lt;br&gt;&lt;br&gt;Benoit
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;:wq
&lt;br&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26551992&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RFC%3A-Would-you-care-if-mq-stopped-storing-patch-files-physically-on--disk--tp26538933p26551992.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26551757</id>
	<title>Re: RFC: Would you care if mq stopped storing patch files physically  on disk?</title>
	<published>2009-11-28T02:10:56Z</published>
	<updated>2009-11-28T02:10:56Z</updated>
	<author>
		<name>Nicolas Dumazet</name>
	</author>
	<content type="html">2009/11/28 Peter Hosey &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26551757&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;boredzo@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; On Nov 26, 2009, at 23:53:10, Peter Arrenbrecht wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; So, are you using the fact that mq stores the patch files physically on
&lt;br&gt;&amp;gt;&amp;gt; disk in your workflows? If so, how?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I sometimes have to hand-edit the patches because mq is so finicky about
&lt;br&gt;&amp;gt; patches having to *exactly match* whatever's in the source code. I would
&lt;br&gt;&amp;gt; welcome a real solution to that problem.
&lt;br&gt;&lt;br&gt;+1 on this. When I need to update an outdated mq patch, I sometimes
&lt;br&gt;find it easier to edit manually the patch to include the changes in
&lt;br&gt;the context instead of merging manually. Common cases (top of my head,
&lt;br&gt;might be incorrect): indentation changes, variable name changes, or
&lt;br&gt;refactoring in main repo, combined to relatively big mq patches to
&lt;br&gt;update.
&lt;br&gt;&lt;br&gt;But it does not happen often. I think I can fallback on exporting the
&lt;br&gt;patch, tweaking it and reimport it. Maybe.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Nicolas Dumazet — NicDumZ
&lt;br&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26551757&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RFC%3A-Would-you-care-if-mq-stopped-storing-patch-files-physically-on--disk--tp26538933p26551757.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26551326</id>
	<title>Re: pulling changes to branch of my choice?</title>
	<published>2009-11-28T00:51:32Z</published>
	<updated>2009-11-28T00:51:32Z</updated>
	<author>
		<name>dilipm</name>
	</author>
	<content type="html">On Sat, Nov 21, 2009 at 2:36 PM, Martin Geisler &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26551326&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mg@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Dilip M &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26551326&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dilipm79@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Sorry for this  basic question..
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I have a repo &amp;quot;main&amp;quot;. A colleagues of mine have cloned it. Now they have
&lt;br&gt;&amp;gt;&amp;gt; done some fixes and asked to me pull it. Now I create a separate branch for
&lt;br&gt;&amp;gt;&amp;gt; this pull activity. (example: hg branch pulled-changes). I change the &amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; pulled-changes&amp;quot; (hg up  pulled-changes).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; If I do a pull from my colleagues repo, I get their changes in default
&lt;br&gt;&amp;gt;&amp;gt; branch, rather than  pulled-changes branch.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; How do I pull changes from remote repo's to an named branch of my choice?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; You cannot, as Gilles said.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In general, one should *not* think of named branches as an isolated
&lt;br&gt;&amp;gt; container for a group of changesets. It is not the case that you can make a
&lt;br&gt;&amp;gt; named branch and then pull stuff &amp;quot;into&amp;quot; this branch.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Instead, you should think of named branches as *labels* for changesets. &amp;nbsp;In
&lt;br&gt;&amp;gt; Mercurial we've now begun using a named branch called &amp;quot;stable&amp;quot; for
&lt;br&gt;&amp;gt; changesets that are designated for the next stable point-release (important
&lt;br&gt;&amp;gt; bug fixes and documentation updates).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; One must decide on the branch name for a give changeset at the time it is
&lt;br&gt;&amp;gt; created. In other words, one must &amp;quot;be&amp;quot; on the right branch since the branch
&lt;br&gt;&amp;gt; name is inherited from the parent changeset. So when we receive a patch on
&lt;br&gt;&amp;gt; the mercurial-devel list, we update to the appropriate branch:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  hg update stable
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; and import the patch there:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  hg import patch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If you know Subversion, then think of named branches as the sub-directories
&lt;br&gt;&amp;gt; under &amp;quot;branches/&amp;quot; in Subversion. If I make a new sub-directory called
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  branches/martin/
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; and work happily there, then I should not expect to be able to change the
&lt;br&gt;&amp;gt; branch name (the directory) in the revisions I've made there.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What you can do is to merge the content of &amp;quot;branches/martin/&amp;quot; into &amp;quot;trunk/&amp;quot;
&lt;br&gt;&amp;gt; and delete &amp;quot;branches/martin/&amp;quot;. That does not change the fact that
&lt;br&gt;&amp;gt; &amp;quot;branches/martin/&amp;quot; exists in previous revisions.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Named branches work the same: you can merge them into the &amp;quot;default&amp;quot; branch
&lt;br&gt;&amp;gt; (or some other branch) and close them. But the old changesets on the branch
&lt;br&gt;&amp;gt; will still be on that branch. The branch name will also live on, in the same
&lt;br&gt;&amp;gt; sense that the &amp;quot;branches/martin/&amp;quot; folder is still known to Subversion even
&lt;br&gt;&amp;gt; though it might be deleted in the HEAD revision.
&lt;/div&gt;&lt;br&gt;Thanks to Gilles, martin.
&lt;br&gt;&lt;br&gt;I read mq and it is just amazing. But I _feel_ there should be some definite
&lt;br&gt;guide on mq alone. I failed to find one, which explains from basic &amp; advance
&lt;br&gt;usage across various different workflow. [ PS: I am not complaining ]
&lt;br&gt;&lt;br&gt;I read the articles across internet. Few of them speak qsave, few of them
&lt;br&gt;speaks qcommit. I got bit confused.
&lt;br&gt;&lt;br&gt;The article from Marshall is very good.
&lt;br&gt;&lt;a href=&quot;http://blogs.sun.com/ace/entry/mq_mercurial_queues&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blogs.sun.com/ace/entry/mq_mercurial_queues&lt;/a&gt;&lt;br&gt;&lt;br&gt;Just thought of sharing....
&lt;br&gt;&lt;br&gt;HTH to someone new to hg like me :)
&lt;br&gt;&lt;br&gt;Cheers...
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Dilip
&lt;br&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26551326&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/pulling-changes-to-branch-of-my-choice--tp26454076p26551326.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26550089</id>
	<title>Re: RFC: Would you care if mq stopped storing patch files physically on disk?</title>
	<published>2009-11-27T18:59:12Z</published>
	<updated>2009-11-27T18:59:12Z</updated>
	<author>
		<name>Peter Hosey</name>
	</author>
	<content type="html">On Nov 27, 2009, at 08:50:12, Benoit Boissinot wrote:
&lt;br&gt;&amp;gt; Or maybe do merge with the same patch applied to the previous parent.
&lt;br&gt;&lt;br&gt;I'm not sure what you're suggesting here. I'm talking about patches in &amp;nbsp;
&lt;br&gt;mq, which have no explicit parent. And the usual case when I have to &amp;nbsp;
&lt;br&gt;edit a patch is when I've just edited the immediately-preceding patch.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26550089&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RFC%3A-Would-you-care-if-mq-stopped-storing-patch-files-physically-on--disk--tp26538933p26550089.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26550368</id>
	<title>Re: RFC: Would you care if mq stopped storing patch files physically on 	disk?</title>
	<published>2009-11-27T17:33:46Z</published>
	<updated>2009-11-27T17:33:46Z</updated>
	<author>
		<name>pwil3058</name>
	</author>
	<content type="html">On 27/11/09 17:53, Peter Arrenbrecht wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; People reading the devel list may have noticed I am trying to rethink
&lt;br&gt;&amp;gt; and unify mq and pbranch. They are both solutions to what mpm calls
&lt;br&gt;&amp;gt; malleable history. This is also the aspect that I'm interested in:
&lt;br&gt;&amp;gt; malleable parts of history within an hg repo. So part of the plan is
&lt;br&gt;&amp;gt; to get rid of the physical patch files by default. This would free us
&lt;br&gt;&amp;gt; from a bunch of limitations inherited from quilt's approach to patch
&lt;br&gt;&amp;gt; management. However, the latter must also have its merits.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So, are you using the fact that mq stores the patch files physically
&lt;br&gt;&amp;gt; on disk in your workflows? If so, how? What are the crucial aspects
&lt;br&gt;&amp;gt; for you?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Note: Import/export to quilt-style patch queues would still be
&lt;br&gt;&amp;gt; supported, but the physical files would no longer be the master copy.
&lt;/div&gt;&lt;br&gt;Yes, I'd care. &amp;nbsp;I do not want the patches or their content be absorbed 
&lt;br&gt;into the repository. &amp;nbsp;I want to be able to restore the repository to its 
&lt;br&gt;pristine condition by doing 'hg qpop -a' without losing the data in the 
&lt;br&gt;patches. &amp;nbsp;By pristine I mean exactly as it would have been if I cloned 
&lt;br&gt;the remote repo.
&lt;br&gt;&lt;br&gt;Peter
&lt;br&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26550368&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RFC%3A-Would-you-care-if-mq-stopped-storing-patch-files-physically-on--disk--tp26538933p26550368.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26549747</id>
	<title>Re: What's next for pbranch?</title>
	<published>2009-11-27T17:28:21Z</published>
	<updated>2009-11-27T17:28:21Z</updated>
	<author>
		<name>pwil3058</name>
	</author>
	<content type="html">On 28/11/09 00:21, Christian Boos wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Peter Williams wrote:
&lt;br&gt;&amp;gt;&amp;gt; On 26/11/09 10:21, Peter Williams wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; On 26/11/09 00:05, Christian Boos wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ...
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Note that with Mercurial 1.4, you can now safely use 'hg rebase' for
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; rebasing your MQ patch queue.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Does this mean that the rebase bugs have been fixed? I didn't notice the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; patches go in. It's good news if it does because rebase is a better
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; solution than the 'qsave dance' described in the book.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I've just checked the list of bugs and there are still some unresolved
&lt;br&gt;&amp;gt;&amp;gt; ones that make the use of rebase with MQ inadvisable. So I'll abstain
&lt;br&gt;&amp;gt;&amp;gt; for the time being.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I think all the problems rebase had together with MQ are fixed:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; issue1561 unnecessary merge conflicts in rebase (resolved)
&lt;br&gt;&amp;gt; issue1830 Rebase or merge bug (resolved)
&lt;br&gt;&amp;gt; issue1835 `pull --rebase` doesn't rebase (need-eg)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1561 was the main issue [1], and 1830 was a duplicate.
&lt;br&gt;&amp;gt; I was not able to reproduce 1835, so I asked for more details, but I
&lt;br&gt;&amp;gt; think this should work as well.
&lt;/div&gt;&lt;br&gt;Not exactly a fix but not much you can do about it (I guess).
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Btw, my original example of doing `hg pull; hg rebase -b qtip -d tip`
&lt;br&gt;&amp;gt; for rebasing the applied patch on top of upstream changes can actually
&lt;br&gt;&amp;gt; be achieved by doing a simple `hg pull --rebase`.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Of the other issues involving rebase, the only real problem left seems
&lt;br&gt;&amp;gt; to be 1867 [2], and that one involves the rebasing of a merge changeset.
&lt;br&gt;&amp;gt; This is not something which can happen in the context of rebasing MQ
&lt;br&gt;&amp;gt; patches, as by design MQ doesn't manage merge changesets.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So did I miss something else?
&lt;/div&gt;&lt;br&gt;1622 pull --rebase fails when a child of an mq patch is pulled
&lt;br&gt;1807 rebase calls too many hooks
&lt;br&gt;&lt;br&gt;Not sure 1622 really matters (to me anyway as I would NEVER be pulling 
&lt;br&gt;the child of an mq patch) but 1807 does as it prevents the use of hooks 
&lt;br&gt;to prevent (accidentally) pushing when patches are applied.
&lt;br&gt;&lt;br&gt;Peter
&lt;br&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26549747&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/What%27s-next-for-pbranch--tp26466658p26549747.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26549742</id>
	<title>Re: &quot;log -v&quot; not showing files, but &quot;log --debug&quot; does</title>
	<published>2009-11-27T17:27:25Z</published>
	<updated>2009-11-27T17:27:25Z</updated>
	<author>
		<name>Matt Mackall</name>
	</author>
	<content type="html">On Fri, 2009-11-27 at 19:49 -0500, Greg Ward wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I'm looking at a rather strange changeset: every way to query
&lt;br&gt;&amp;gt; Mercurial shows that it modified one file, *except* &amp;quot;hg log -v&amp;quot;. &amp;nbsp;That
&lt;br&gt;&amp;gt; is, &amp;quot;log -v&amp;quot; seems to think this changeset modified nothing, but I
&lt;br&gt;&amp;gt; know better, and so does the rest of Mercurial. The most striking
&lt;br&gt;&amp;gt; oddity is that &amp;quot;log --debug&amp;quot; reveals the truth.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Here is the &amp;quot;log --debug&amp;quot; version, which is correct:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;quot;&amp;quot;&amp;quot;
&lt;br&gt;&amp;gt; changeset: &amp;nbsp; 104305:207e192fbd10a21bd293c01b788d0bb68df2975c
&lt;br&gt;&amp;gt; branch: &amp;nbsp; &amp;nbsp; &amp;nbsp;PACS-3-8-3
&lt;br&gt;&amp;gt; parent: &amp;nbsp; &amp;nbsp; &amp;nbsp;104291:2aff2c98fd87c696d31fe4e14241cce37f6a7700
&lt;br&gt;&amp;gt; parent: &amp;nbsp; &amp;nbsp; &amp;nbsp;104304:7eeec0142aee531b860ce506ecbf8d5fc4e93a0d
&lt;br&gt;&amp;gt; manifest: &amp;nbsp; &amp;nbsp;103036:a781ed3076d529b4524b54268e26df62ddcf1df1
&lt;br&gt;&amp;gt; user: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Greg Ward &amp;lt;gward@*****&amp;gt;
&lt;br&gt;&amp;gt; date: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Thu Nov 26 21:02:43 2009 -0500
&lt;br&gt;&amp;gt; files: &amp;nbsp; &amp;nbsp; &amp;nbsp; LoadBuild/utilities/generatePacsVersion
&lt;br&gt;&amp;gt; extra: &amp;nbsp; &amp;nbsp; &amp;nbsp; branch=PACS-3-8-3
&lt;br&gt;&amp;gt; description:
&lt;br&gt;&amp;gt; generatePacsVersion: handle production builds from Mercurial.
&lt;br&gt;&amp;gt; &amp;quot;&amp;quot;&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; There are many ways to confirm this view of reality: &amp;quot;diff -c 104305&amp;quot;,
&lt;br&gt;&amp;gt; &amp;quot;diff -r 104291:104305&amp;quot;, &amp;quot;log -p -r 104305&amp;quot;, compare output of
&lt;br&gt;&amp;gt; &amp;quot;manifest --debug&amp;quot;, &amp;quot;status --rev 104291 --rev 104305&amp;quot;. &amp;nbsp;All agree
&lt;br&gt;&amp;gt; that this changeset modified exactly one file.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; But &amp;quot;log -v&amp;quot; does not agree; here is what it says:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;quot;&amp;quot;&amp;quot;
&lt;br&gt;&amp;gt; changeset: &amp;nbsp; 104305:207e192fbd10
&lt;br&gt;&amp;gt; branch: &amp;nbsp; &amp;nbsp; &amp;nbsp;PACS-3-8-3
&lt;br&gt;&amp;gt; parent: &amp;nbsp; &amp;nbsp; &amp;nbsp;104291:2aff2c98fd87
&lt;br&gt;&amp;gt; parent: &amp;nbsp; &amp;nbsp; &amp;nbsp;104304:7eeec0142aee
&lt;br&gt;&amp;gt; user: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Greg Ward &amp;lt;gward@*******&amp;gt;
&lt;br&gt;&amp;gt; date: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Thu Nov 26 21:02:43 2009 -0500
&lt;br&gt;&amp;gt; description:
&lt;br&gt;&amp;gt; generatePacsVersion: handle production builds from Mercurial.
&lt;br&gt;&amp;gt; &amp;quot;&amp;quot;&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Note the absence of any &amp;quot;files&amp;quot; line. &amp;nbsp;WTF?!? &amp;nbsp;I'm getting the same
&lt;br&gt;&amp;gt; result with 1.3.1ish and current stable. &amp;nbsp;Disabling all extensions
&lt;br&gt;&amp;gt; doesn't change things. &amp;nbsp;Any clue what's going on here?
&lt;/div&gt;&lt;br&gt;Probably something related to it being a merge. The changelog only
&lt;br&gt;internally records files that change relative to both parents.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;a href=&quot;http://selenic.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com&lt;/a&gt;&amp;nbsp;: development and support for Mercurial and Linux
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26549742&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%22log--v%22-not-showing-files%2C-but-%22log---debug%22-does-tp26549537p26549742.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26549537</id>
	<title>&quot;log -v&quot; not showing files, but &quot;log --debug&quot; does</title>
	<published>2009-11-27T16:49:38Z</published>
	<updated>2009-11-27T16:49:38Z</updated>
	<author>
		<name>Greg Ward-17</name>
	</author>
	<content type="html">I'm looking at a rather strange changeset: every way to query
&lt;br&gt;Mercurial shows that it modified one file, *except* &amp;quot;hg log -v&amp;quot;. &amp;nbsp;That
&lt;br&gt;is, &amp;quot;log -v&amp;quot; seems to think this changeset modified nothing, but I
&lt;br&gt;know better, and so does the rest of Mercurial. The most striking
&lt;br&gt;oddity is that &amp;quot;log --debug&amp;quot; reveals the truth.
&lt;br&gt;&lt;br&gt;Here is the &amp;quot;log --debug&amp;quot; version, which is correct:
&lt;br&gt;&lt;br&gt;&amp;quot;&amp;quot;&amp;quot;
&lt;br&gt;changeset: &amp;nbsp; 104305:207e192fbd10a21bd293c01b788d0bb68df2975c
&lt;br&gt;branch: &amp;nbsp; &amp;nbsp; &amp;nbsp;PACS-3-8-3
&lt;br&gt;parent: &amp;nbsp; &amp;nbsp; &amp;nbsp;104291:2aff2c98fd87c696d31fe4e14241cce37f6a7700
&lt;br&gt;parent: &amp;nbsp; &amp;nbsp; &amp;nbsp;104304:7eeec0142aee531b860ce506ecbf8d5fc4e93a0d
&lt;br&gt;manifest: &amp;nbsp; &amp;nbsp;103036:a781ed3076d529b4524b54268e26df62ddcf1df1
&lt;br&gt;user: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Greg Ward &amp;lt;gward@*****&amp;gt;
&lt;br&gt;date: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Thu Nov 26 21:02:43 2009 -0500
&lt;br&gt;files: &amp;nbsp; &amp;nbsp; &amp;nbsp; LoadBuild/utilities/generatePacsVersion
&lt;br&gt;extra: &amp;nbsp; &amp;nbsp; &amp;nbsp; branch=PACS-3-8-3
&lt;br&gt;description:
&lt;br&gt;generatePacsVersion: handle production builds from Mercurial.
&lt;br&gt;&amp;quot;&amp;quot;&amp;quot;
&lt;br&gt;&lt;br&gt;There are many ways to confirm this view of reality: &amp;quot;diff -c 104305&amp;quot;,
&lt;br&gt;&amp;quot;diff -r 104291:104305&amp;quot;, &amp;quot;log -p -r 104305&amp;quot;, compare output of
&lt;br&gt;&amp;quot;manifest --debug&amp;quot;, &amp;quot;status --rev 104291 --rev 104305&amp;quot;. &amp;nbsp;All agree
&lt;br&gt;that this changeset modified exactly one file.
&lt;br&gt;&lt;br&gt;But &amp;quot;log -v&amp;quot; does not agree; here is what it says:
&lt;br&gt;&lt;br&gt;&amp;quot;&amp;quot;&amp;quot;
&lt;br&gt;changeset: &amp;nbsp; 104305:207e192fbd10
&lt;br&gt;branch: &amp;nbsp; &amp;nbsp; &amp;nbsp;PACS-3-8-3
&lt;br&gt;parent: &amp;nbsp; &amp;nbsp; &amp;nbsp;104291:2aff2c98fd87
&lt;br&gt;parent: &amp;nbsp; &amp;nbsp; &amp;nbsp;104304:7eeec0142aee
&lt;br&gt;user: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Greg Ward &amp;lt;gward@*******&amp;gt;
&lt;br&gt;date: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Thu Nov 26 21:02:43 2009 -0500
&lt;br&gt;description:
&lt;br&gt;generatePacsVersion: handle production builds from Mercurial.
&lt;br&gt;&amp;quot;&amp;quot;&amp;quot;
&lt;br&gt;&lt;br&gt;Note the absence of any &amp;quot;files&amp;quot; line. &amp;nbsp;WTF?!? &amp;nbsp;I'm getting the same
&lt;br&gt;result with 1.3.1ish and current stable. &amp;nbsp;Disabling all extensions
&lt;br&gt;doesn't change things. &amp;nbsp;Any clue what's going on here?
&lt;br&gt;&lt;br&gt;Greg
&lt;br&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26549537&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%22log--v%22-not-showing-files%2C-but-%22log---debug%22-does-tp26549537p26549537.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26548798</id>
	<title>Re: Question about subrepo usages</title>
	<published>2009-11-27T14:49:00Z</published>
	<updated>2009-11-27T14:49:00Z</updated>
	<author>
		<name>Matt Mackall</name>
	</author>
	<content type="html">On Thu, 2009-11-26 at 17:38 +0100, Axelle Ziegler wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I'm aware that my question might seem dumb, but I just want to make
&lt;br&gt;&amp;gt; sure I'm not missing something.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What we are after is a way to &amp;quot;share&amp;quot; our library repository, meaning,
&lt;br&gt;&amp;gt; ideally :
&lt;br&gt;&amp;gt; &amp;nbsp;1) &amp;nbsp;When we clone a project repo, the library repo get cloned alongside
&lt;br&gt;&amp;gt; &amp;nbsp;2) If we modify our libs in one project, the change gets pushed to
&lt;br&gt;&amp;gt; the lib main repo when we push
&lt;br&gt;&amp;gt; &amp;nbsp;3) When we pull a project the lib gets pulled alongside (so that
&lt;br&gt;&amp;gt; changes in the remote repository are propagated to the local version
&lt;br&gt;&amp;gt; of th libs)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; While 1) and 2) seem to be provided by suprepos with no further work,
&lt;br&gt;&amp;gt; 3) isn't as far as I can see. Is it the case, or am I misunderstanding
&lt;br&gt;&amp;gt; something ?
&lt;/div&gt;&lt;br&gt;There are a number of reasons why the subrepo implementation delays
&lt;br&gt;pulling subrepos until update, rather than recursively pulling a pull
&lt;br&gt;time. Here are a few:
&lt;br&gt;&lt;br&gt;- it may be undesirable to pull subrepos (ie publishing the main repo)
&lt;br&gt;- there's no good place to store subrepos if there's no checkout
&lt;br&gt;- there's no unambiguous way to decide what to pull (multiple branches)
&lt;br&gt;- if the subrepo config is broken, it breaks pull instead of just update
&lt;br&gt;- pull doesn't apply to non-distributed systems that we'll eventually
&lt;br&gt;support[1]
&lt;br&gt;&lt;br&gt;I think the current approach is probably the best compromise in terms of
&lt;br&gt;simplicity and functionality. The biggest downside is you might not be
&lt;br&gt;able to update locally if your subrepo sources are offline, but that can
&lt;br&gt;happen in any case.
&lt;br&gt;&lt;br&gt;[1] Augie Fackler says he's working on adding SVN support. Git and CVS
&lt;br&gt;support should be pretty simple too: the hgsubrepo class to support
&lt;br&gt;Mercurial subrepos is only 75 lines.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;a href=&quot;http://selenic.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com&lt;/a&gt;&amp;nbsp;: development and support for Mercurial and Linux
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26548798&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Question-about-subrepo-usages-tp26531985p26548798.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26551778</id>
	<title>Re: pulling changes to branch of my choice?</title>
	<published>2009-11-27T14:16:01Z</published>
	<updated>2009-11-27T14:16:01Z</updated>
	<author>
		<name>Gilles Moris</name>
	</author>
	<content type="html">On Saturday 28 November 2009 09:51:32 am Dilip M wrote:
&lt;br&gt;&amp;gt; Thanks to Gilles, martin.
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;You're welcomed.
&lt;br&gt;&lt;br&gt;&amp;gt; I read mq and it is just amazing. But I _feel_ there should be some
&lt;br&gt;&amp;gt; definite guide on mq alone. I failed to find one, which explains from basic
&lt;br&gt;&amp;gt; &amp; advance usage across various different workflow. [ PS: I am not
&lt;br&gt;&amp;gt; complaining ]
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;One of the reference documentations is definitely the hgbook at:
&lt;br&gt;&lt;a href=&quot;http://hgbook.red-bean.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hgbook.red-bean.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Chapter 12 and 13 are dedicated to MQ (resp. Basic and Advanced)
&lt;br&gt;&lt;br&gt;&amp;gt; I read the articles across internet. Few of them speak qsave, few of them
&lt;br&gt;&amp;gt; speaks qcommit. I got bit confused.
&lt;br&gt;&lt;br&gt;The qsave command was useful at a time there was no tools to rebase your 
&lt;br&gt;patches on an upstream repo. It was requiring a tedious and error prone 
&lt;br&gt;process described.
&lt;br&gt;I've tried to make an extension called qrebase to automate all that, but that 
&lt;br&gt;have been obsoleted by the rebase extension [1] which is able to that and 
&lt;br&gt;much more.
&lt;br&gt;&lt;br&gt;So now, I just declare the bundled rebase extension in my .hgrc and simply use 
&lt;br&gt;the added --rebase option when I pull, to restack my currently pushed 
&lt;br&gt;patches:
&lt;br&gt;% hg pull --rebase
&lt;br&gt;&lt;br&gt;Regards.
&lt;br&gt;Gilles.
&lt;br&gt;&lt;br&gt;PS: note that there are questions about remaining bugs in 1.4 when using &amp;quot;hg 
&lt;br&gt;pull --rebase&amp;quot; in another thread. I never had problems with those, and I did 
&lt;br&gt;not see anybody complaining lately either, but it's worth mentioning.
&lt;br&gt;[1] &lt;a href=&quot;http://mercurial.selenic.com/wiki/RebaseExtension&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mercurial.selenic.com/wiki/RebaseExtension&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26551778&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/pulling-changes-to-branch-of-my-choice--tp26454076p26551778.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26547975</id>
	<title>Tortoise and Savannah</title>
	<published>2009-11-27T13:28:31Z</published>
	<updated>2009-11-27T13:28:31Z</updated>
	<author>
		<name>Marco Bresciani</name>
	</author>
	<content type="html">Hello all,
&lt;br&gt;&amp;nbsp; &amp;nbsp;I've just registered a project on (Non)GNU Savannah site and I'm trying to 
&lt;br&gt;use TortoiseHg (and also the command line) to upload all my local repository 
&lt;br&gt;on the Savannah server. &lt;a href=&quot;https://savannah.gnu.org/support/index.php?107140&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://savannah.gnu.org/support/index.php?107140&lt;/a&gt;&lt;br&gt;&lt;br&gt;I'm registered on Savannah and I have configured the repository according to 
&lt;br&gt;Savannah guidelines (&lt;a href=&quot;http://savannah.gnu.org/maintenance/UsingHg&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/maintenance/UsingHg&lt;/a&gt;) but I cannot 
&lt;br&gt;connect to the repository (it uses SSH).
&lt;br&gt;&lt;br&gt;The configuration file seems correct, to me. I'm using TortoiseHg 0.9.
&lt;br&gt;&lt;br&gt;So, I'm trying to push the modifications on Savannah, and I receive this 
&lt;br&gt;message: &amp;quot;Disconnected: No supported authentication methods available&amp;quot;.
&lt;br&gt;I've received, the first time I tried, the SSH connection message (key and so 
&lt;br&gt;on) but since I was busy doing too many things, I've not read it and I've also 
&lt;br&gt;probably mistyped the login name, that time, so I would like to try by 
&lt;br&gt;removing the already registered SSH and trying again.
&lt;br&gt;Any idea on how to do this on this damn OS? (No, can't install gNewSense right 
&lt;br&gt;now, unfortunately...)
&lt;br&gt;&lt;br&gt;Also, is the hg file correct?
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------
&lt;br&gt;[paths]
&lt;br&gt;default = ssh://&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26547975&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MarcoBresciani@...&lt;/a&gt;/scacchi3d
&lt;br&gt;&lt;br&gt;[ui]
&lt;br&gt;username = Marco Bresciani
&lt;br&gt;&lt;br&gt;[tortoisehg]
&lt;br&gt;authorcolor = True
&lt;br&gt;&lt;br&gt;[web]
&lt;br&gt;name = Scacchi 3D
&lt;br&gt;description = Progetto e Sviluppo di un Sistema per il Gioco degli Scacchi 
&lt;br&gt;Tridimensionali
&lt;br&gt;contact = Marco Bresciani &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26547975&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;m.bresciani@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;[email]
&lt;br&gt;from = Marco Bresciani &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26547975&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;m.bresciani@...&lt;/a&gt;&amp;gt;
&lt;br&gt;------------------------------------------
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Here they are my steps:
&lt;br&gt;1. opened command prompt as administrator user;
&lt;br&gt;2. &amp;quot;cd&amp;quot;ed inside the repository directory (same level as &amp;quot;.hg&amp;quot; directory;
&lt;br&gt;3. checked repository config file to be sure about content (see previous 
&lt;br&gt;attachment);
&lt;br&gt;4. ran &amp;quot;hg serve -A access.log -E error.log&amp;quot; at 21.33;
&lt;br&gt;...
&lt;br&gt;&lt;br&gt;...
&lt;br&gt;5. no news/changes or output (neither in the logs) at 21.50 but command 
&lt;br&gt;apparently still running (no exit firewall on hg, obviously);
&lt;br&gt;&lt;br&gt;------------------------------------------
&lt;br&gt;------------------------------------------
&lt;br&gt;------------------------------------------
&lt;br&gt;&lt;br&gt;Second attempt:
&lt;br&gt;1. opened command prompt as administrator user;
&lt;br&gt;2. &amp;quot;cd&amp;quot;ed inside the repository directory (same level as &amp;quot;.hg&amp;quot; directory;
&lt;br&gt;3. checked repository config file to be sure about content (see previous 
&lt;br&gt;attachment);
&lt;br&gt;4. ran &amp;quot;hg push -v --debug&amp;quot; at 21.40;
&lt;br&gt;5. output is:
&lt;br&gt;&lt;br&gt;sto eseguendo &amp;quot;&amp;quot;C:\Program Files\TortoiseHg\TortoisePlink.exe&amp;quot; -ssh -2 
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26547975&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MarcoBresciani@...&lt;/a&gt; &amp;quot;hg -R scacchi3d serve --stdio&amp;quot;&amp;quot;
&lt;br&gt;sending hello command
&lt;br&gt;sending between command
&lt;br&gt;abortito: nessuna risposta accettabile dall'hg remoto!
&lt;br&gt;&lt;br&gt;where &amp;quot;sto eseguendo&amp;quot; means &amp;quot;I'm running&amp;quot; and &amp;quot;abortito: nessuna risposta 
&lt;br&gt;accettabile dall'hg remoto!&amp;quot;, according to the translation file the actual 
&lt;br&gt;English message is: &amp;quot;no suitable response from remote hg&amp;quot;.
&lt;br&gt;&lt;br&gt;------------------------------------------
&lt;br&gt;------------------------------------------
&lt;br&gt;------------------------------------------
&lt;br&gt;&lt;br&gt;Instead, using TortoiseHg &amp;quot;push&amp;quot; command I see an error popup dialog saying 
&lt;br&gt;&amp;quot;Disconnected: No supported authentication methods available&amp;quot;. Same for 
&lt;br&gt;&amp;quot;incoming&amp;quot;, &amp;quot;push&amp;quot; and &amp;quot;outgoing&amp;quot; modifications commands.
&lt;br&gt;&lt;br&gt;------------------------------------------
&lt;br&gt;------------------------------------------
&lt;br&gt;------------------------------------------
&lt;br&gt;&lt;br&gt;Any idea? :-(
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Marco
&lt;br&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26547975&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Tortoise-and-Savannah-tp26547975p26547975.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26547590</id>
	<title>Re: RFC: Would you care if mq stopped storing patch files physically  on disk?</title>
	<published>2009-11-27T12:47:06Z</published>
	<updated>2009-11-27T12:47:06Z</updated>
	<author>
		<name>Kyle Altendorf-2</name>
	</author>
	<content type="html">On Thu, Nov 26, 2009 at 11:53 PM, Peter Arrenbrecht
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26547590&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;peter.arrenbrecht@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; People reading the devel list may have noticed I am trying to rethink
&lt;br&gt;&amp;gt; and unify mq and pbranch. They are both solutions to what mpm calls
&lt;br&gt;&amp;gt; malleable history. This is also the aspect that I'm interested in:
&lt;br&gt;&amp;gt; malleable parts of history within an hg repo. So part of the plan is
&lt;br&gt;&amp;gt; to get rid of the physical patch files by default. This would free us
&lt;br&gt;&amp;gt; from a bunch of limitations inherited from quilt's approach to patch
&lt;br&gt;&amp;gt; management. However, the latter must also have its merits.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So, are you using the fact that mq stores the patch files physically
&lt;br&gt;&amp;gt; on disk in your workflows? If so, how? What are the crucial aspects
&lt;br&gt;&amp;gt; for you?
&lt;/div&gt;&lt;br&gt;&lt;a href=&quot;http://hgbook.red-bean.com/read/managing-change-with-mercurial-queues.html#sec:mq:repo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hgbook.red-bean.com/read/managing-change-with-mercurial-queues.html#sec:mq:repo&lt;/a&gt;&lt;br&gt;&lt;br&gt;To a limited degree I have turned the patches folder into a repository
&lt;br&gt;itself to share patches amongst various copies of the main repository.
&lt;br&gt;&amp;nbsp;Seemed useful to me.
&lt;br&gt;&lt;br&gt;-kyle
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Note: Import/export to quilt-style patch queues would still be
&lt;br&gt;&amp;gt; supported, but the physical files would no longer be the master copy.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; -parren
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Mercurial mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26547590&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26547590&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RFC%3A-Would-you-care-if-mq-stopped-storing-patch-files-physically-on--disk--tp26538933p26547590.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26545234</id>
	<title>Re: RFC: Would you care if mq stopped storing patch files physically on disk?</title>
	<published>2009-11-27T09:10:36Z</published>
	<updated>2009-11-27T09:10:36Z</updated>
	<author>
		<name>Christian Boos-2</name>
	</author>
	<content type="html">Benoit Boissinot wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Fri, Nov 27, 2009 at 05:35:51PM +0100, Christian Boos wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Peter Hosey wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; On Nov 26, 2009, at 23:53:10, Peter Arrenbrecht wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; So, are you using the fact that mq stores the patch files
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; physically on disk in your workflows? If so, how?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I sometimes have to hand-edit the patches because mq is so finicky
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; about patches having to *exactly match* whatever's in the source
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; code. I would welcome a real solution to that problem.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Try apply the .rej file via wiggle &amp;nbsp;[1].
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Now if hg would by itself fallback to word level merges when a chunk
&lt;br&gt;&amp;gt;&amp;gt; fails to apply, that would be excellent ;-)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Or maybe do merge with the same patch applied to the previous parent.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;But this would work only if you actually know what was that previous 
&lt;br&gt;parent. Maybe you got that patch from the bugtracker or elsewhere, and 
&lt;br&gt;if it was not produced by an `hg export` it will not have the parent hash.
&lt;br&gt;&lt;br&gt;Even in the case the patch was already in MQ before, when you do a qpop 
&lt;br&gt;the parent information will be lost. Would it be possible to write the 
&lt;br&gt;standard headers in the patch after a successful qpush? Maybe simply by 
&lt;br&gt;overwriting the patch with an hg export?
&lt;br&gt;&lt;br&gt;-- Christian
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26545234&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RFC%3A-Would-you-care-if-mq-stopped-storing-patch-files-physically-on--disk--tp26538933p26545234.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26544958</id>
	<title>Re: RFC: Would you care if mq stopped storing patch files physically on disk?</title>
	<published>2009-11-27T08:50:12Z</published>
	<updated>2009-11-27T08:50:12Z</updated>
	<author>
		<name>Benoit Boissinot</name>
	</author>
	<content type="html">On Fri, Nov 27, 2009 at 05:35:51PM +0100, Christian Boos wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Peter Hosey wrote:
&lt;br&gt;&amp;gt; &amp;gt;On Nov 26, 2009, at 23:53:10, Peter Arrenbrecht wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;So, are you using the fact that mq stores the patch files
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;physically on disk in your workflows? If so, how?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;I sometimes have to hand-edit the patches because mq is so finicky
&lt;br&gt;&amp;gt; &amp;gt;about patches having to *exactly match* whatever's in the source
&lt;br&gt;&amp;gt; &amp;gt;code. I would welcome a real solution to that problem.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Try apply the .rej file via wiggle &amp;nbsp;[1].
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Now if hg would by itself fallback to word level merges when a chunk
&lt;br&gt;&amp;gt; fails to apply, that would be excellent ;-)
&lt;/div&gt;&lt;br&gt;Or maybe do merge with the same patch applied to the previous parent.
&lt;br&gt;&lt;br&gt;Benoit
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;:wq
&lt;br&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26544958&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RFC%3A-Would-you-care-if-mq-stopped-storing-patch-files-physically-on--disk--tp26538933p26544958.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26544785</id>
	<title>Re: RFC: Would you care if mq stopped storing patch files physically on disk?</title>
	<published>2009-11-27T08:35:51Z</published>
	<updated>2009-11-27T08:35:51Z</updated>
	<author>
		<name>Christian Boos-2</name>
	</author>
	<content type="html">Peter Hosey wrote:
&lt;br&gt;&amp;gt; On Nov 26, 2009, at 23:53:10, Peter Arrenbrecht wrote:
&lt;br&gt;&amp;gt;&amp;gt; So, are you using the fact that mq stores the patch files physically 
&lt;br&gt;&amp;gt;&amp;gt; on disk in your workflows? If so, how?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I sometimes have to hand-edit the patches because mq is so finicky 
&lt;br&gt;&amp;gt; about patches having to *exactly match* whatever's in the source code. 
&lt;br&gt;&amp;gt; I would welcome a real solution to that problem.
&lt;br&gt;&lt;br&gt;Try apply the .rej file via wiggle &amp;nbsp;[1].
&lt;br&gt;&lt;br&gt;Now if hg would by itself fallback to word level merges when a chunk 
&lt;br&gt;fails to apply, that would be excellent ;-)
&lt;br&gt;&lt;br&gt;-- Christian
&lt;br&gt;&lt;br&gt;[1] - &lt;a href=&quot;http://neil.brown.name/git?p=wiggle;a=summary&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://neil.brown.name/git?p=wiggle;a=summary&lt;/a&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26544785&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RFC%3A-Would-you-care-if-mq-stopped-storing-patch-files-physically-on--disk--tp26538933p26544785.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26544669</id>
	<title>Re: RFC: Would you care if mq stopped storing patch files physically on disk?</title>
	<published>2009-11-27T08:27:03Z</published>
	<updated>2009-11-27T08:27:03Z</updated>
	<author>
		<name>Peter Hosey</name>
	</author>
	<content type="html">On Nov 26, 2009, at 23:53:10, Peter Arrenbrecht wrote:
&lt;br&gt;&amp;gt; So, are you using the fact that mq stores the patch files physically &amp;nbsp;
&lt;br&gt;&amp;gt; on disk in your workflows? If so, how?
&lt;br&gt;&lt;br&gt;I sometimes have to hand-edit the patches because mq is so finicky &amp;nbsp;
&lt;br&gt;about patches having to *exactly match* whatever's in the source code. &amp;nbsp;
&lt;br&gt;I would welcome a real solution to that problem.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26544669&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RFC%3A-Would-you-care-if-mq-stopped-storing-patch-files-physically-on--disk--tp26538933p26544669.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26543199</id>
	<title>Re: RFC: Would you care if mq stopped storing patch files physically on disk?</title>
	<published>2009-11-27T06:33:08Z</published>
	<updated>2009-11-27T06:33:08Z</updated>
	<author>
		<name>Wagner Bruna-2</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;Peter Arrenbrecht wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; People reading the devel list may have noticed I am trying to rethink
&lt;br&gt;&amp;gt; and unify mq and pbranch. They are both solutions to what mpm calls
&lt;br&gt;&amp;gt; malleable history. This is also the aspect that I'm interested in:
&lt;br&gt;&amp;gt; malleable parts of history within an hg repo. So part of the plan is
&lt;br&gt;&amp;gt; to get rid of the physical patch files by default. This would free us
&lt;br&gt;&amp;gt; from a bunch of limitations inherited from quilt's approach to patch
&lt;br&gt;&amp;gt; management. However, the latter must also have its merits.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So, are you using the fact that mq stores the patch files physically
&lt;br&gt;&amp;gt; on disk in your workflows? If so, how? What are the crucial aspects
&lt;br&gt;&amp;gt; for you?
&lt;/div&gt;&lt;br&gt;Sometimes I develop patches in a repository, and when I'm done apply them 
&lt;br&gt;directly into another with hg import. But a facility for exporting those patches 
&lt;br&gt;(either a special command or plain hg export) would probably be enough for me.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Wagner
&lt;br&gt;&lt;br&gt;&amp;gt; Note: Import/export to quilt-style patch queues would still be
&lt;br&gt;&amp;gt; supported, but the physical files would no longer be the master copy.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; -parren
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26543199&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RFC%3A-Would-you-care-if-mq-stopped-storing-patch-files-physically-on--disk--tp26538933p26543199.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26543054</id>
	<title>Re: What's next for pbranch?</title>
	<published>2009-11-27T06:21:15Z</published>
	<updated>2009-11-27T06:21:15Z</updated>
	<author>
		<name>Christian Boos-2</name>
	</author>
	<content type="html">Peter Williams wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 26/11/09 10:21, Peter Williams wrote:
&lt;br&gt;&amp;gt;&amp;gt; On 26/11/09 00:05, Christian Boos wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ...
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Note that with Mercurial 1.4, you can now safely use 'hg rebase' for
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; rebasing your MQ patch queue.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Does this mean that the rebase bugs have been fixed? I didn't notice the
&lt;br&gt;&amp;gt;&amp;gt; patches go in. It's good news if it does because rebase is a better
&lt;br&gt;&amp;gt;&amp;gt; solution than the 'qsave dance' described in the book.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've just checked the list of bugs and there are still some unresolved 
&lt;br&gt;&amp;gt; ones that make the use of rebase with MQ inadvisable. &amp;nbsp;So I'll abstain 
&lt;br&gt;&amp;gt; for the time being.
&lt;/div&gt;&lt;br&gt;I think all the problems rebase had together with MQ are fixed:
&lt;br&gt;&lt;br&gt;issue1561 &amp;nbsp; &amp;nbsp; unnecessary merge conflicts in rebase &amp;nbsp; &amp;nbsp;(resolved)
&lt;br&gt;issue1830 &amp;nbsp; &amp;nbsp; Rebase or merge bug &amp;nbsp; &amp;nbsp;(resolved)
&lt;br&gt;issue1835 &amp;nbsp; &amp;nbsp; `pull --rebase` doesn't rebase &amp;nbsp; &amp;nbsp;(need-eg)
&lt;br&gt;&lt;br&gt;1561 was the main issue [1], and 1830 was a duplicate.
&lt;br&gt;I was not able to reproduce 1835, so I asked for more details, but I 
&lt;br&gt;think this should work as well.
&lt;br&gt;Btw, my original example of doing `hg pull; hg rebase -b qtip -d tip` 
&lt;br&gt;for rebasing the applied patch on top of upstream changes can actually 
&lt;br&gt;be achieved by doing a simple `hg pull --rebase`.
&lt;br&gt;&lt;br&gt;Of the other issues involving rebase, the only real problem left seems 
&lt;br&gt;to be 1867 [2], and that one involves the rebasing of a merge changeset. 
&lt;br&gt;This is not something which can happen in the context of rebasing MQ 
&lt;br&gt;patches, as by design MQ doesn't manage merge changesets.
&lt;br&gt;&lt;br&gt;So did I miss something else?
&lt;br&gt;&lt;br&gt;-- Christian
&lt;br&gt;&lt;br&gt;[1] - &lt;a href=&quot;http://selenic.com/repo/hg/rev/49efeed49c94&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/repo/hg/rev/49efeed49c94&lt;/a&gt;&lt;br&gt;[2] - &lt;a href=&quot;http://mercurial.selenic.com/bts/issue1867&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mercurial.selenic.com/bts/issue1867&lt;/a&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26543054&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/What%27s-next-for-pbranch--tp26466658p26543054.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26542479</id>
	<title>Re: RFC: Would you care if mq stopped storing patch files physically  on disk?</title>
	<published>2009-11-27T05:35:03Z</published>
	<updated>2009-11-27T05:35:03Z</updated>
	<author>
		<name>Abderrahim Kitouni-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;2009/11/27 Peer Sommerlund &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542479&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;peer.sommerlund@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 2009/11/27 Peter Arrenbrecht &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542479&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;peter.arrenbrecht@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; So, are you using the fact that mq stores the patch files physically
&lt;br&gt;&amp;gt;&amp;gt; on disk in your workflows? If so, how? What are the crucial aspects
&lt;br&gt;&amp;gt;&amp;gt; for you?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; In cases where I have several clones of a repository, I sometimes move patch
&lt;br&gt;&amp;gt; files between repositories.
&lt;br&gt;&amp;gt; I have several mini-projects for TortoiseHg, each of them have one or more
&lt;br&gt;&amp;gt; repositories. The patch file moving occurs if if I fix a bug or make a new
&lt;br&gt;&amp;gt; feature, while working on something else.
&lt;/div&gt;I guess that's the most important use case (I used it just before
&lt;br&gt;posting ;-)), the other notable use case is to attach to a bug tracker
&lt;br&gt;(that is, without 'hg export &amp;gt; tempfile' and later forgetting to
&lt;br&gt;delete the file, or why it was there in the first place).
&lt;br&gt;&lt;br&gt;I think removing the patch files would lead to the same situation for
&lt;br&gt;the first case.
&lt;br&gt;Not that I'm against removing them, there might be a good way to do
&lt;br&gt;this without the patches (e.g. transplant extension)
&lt;br&gt;&lt;br&gt;Peace,
&lt;br&gt;Abderrahim
&lt;br&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542479&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RFC%3A-Would-you-care-if-mq-stopped-storing-patch-files-physically-on--disk--tp26538933p26542479.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26541614</id>
	<title>Re: newline in branch name - how to recover repo</title>
	<published>2009-11-27T04:09:59Z</published>
	<updated>2009-11-27T04:09:59Z</updated>
	<author>
		<name>Igor Lautar-3</name>
	</author>
	<content type="html">On Fri, Nov 27, 2009 at 12:22 PM, Igor Lautar &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26541614&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;igor.lautar@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi All,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have a weird problem.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Some history how we come to this state:
&lt;br&gt;&amp;gt;  - we migrated from svn
&lt;br&gt;&amp;gt;  - I've used hg convert to convert this svn repo to hg (using just
&lt;br&gt;&amp;gt; part of whole repo)
&lt;br&gt;&amp;gt;  - convert was done on a subdirectory (ie. not trunk but 'src' dir inside it)
&lt;br&gt;&amp;gt;  - this was done for two branches
&lt;br&gt;&amp;gt;  - branchmap was used to link 'src' from trunk to 'default' and the
&lt;br&gt;&amp;gt; one from branch to 'v1' (arbitrary names)
&lt;br&gt;&amp;gt;  - shamap was also used to properly link v1 with default
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; How the weird problem. This was originally done on windows system and
&lt;br&gt;&amp;gt; later moved to linux where repo was incrementally converted few times
&lt;br&gt;&amp;gt; to sync. This is now final, as we moved to hg.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; However, it seams branchmap files (when moved from win to linux)
&lt;br&gt;&amp;gt; somehow (CR/LF detection) managed to put extra newline into tag. This
&lt;br&gt;&amp;gt; was not obvious from command-line tools (it does not display extra
&lt;br&gt;&amp;gt; newline), but from hgtk log, I can see something like:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 'default
&lt;br&gt;&amp;gt; '
&lt;br&gt;&amp;gt; and
&lt;br&gt;&amp;gt; 'v1
&lt;br&gt;&amp;gt; '
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It was weird to have 'default' tag show up in logs, but I (wrongly)
&lt;br&gt;&amp;gt; ignored it. Stuff was also commited (and merged etc.) later on,
&lt;br&gt;&amp;gt; introducing proper branch names.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Now we have 4 branches:
&lt;br&gt;&amp;gt; 'default'
&lt;br&gt;&amp;gt; 'default
&lt;br&gt;&amp;gt; '
&lt;br&gt;&amp;gt; 'v1'
&lt;br&gt;&amp;gt; 'v1
&lt;br&gt;&amp;gt; '
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Interestingly enough, command line tools do not show newline,
&lt;br&gt;&amp;gt; branchheads.cache looks like:
&lt;br&gt;&amp;gt; &amp;lt;hash&amp;gt; tip
&lt;br&gt;&amp;gt; &amp;lt;hash&amp;gt; default
&lt;br&gt;&amp;gt; &amp;lt;hash&amp;gt; default
&lt;br&gt;&amp;gt; &amp;lt;hash&amp;gt; v1
&lt;br&gt;&amp;gt; &amp;lt;hash&amp;gt; v1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; and hg update [default|v1] does the wrong thing.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; How to fix this? I have no problem of doing complete hg convert on it
&lt;br&gt;&amp;gt; as number of devs is small (two of us for now). Would hg convert be
&lt;br&gt;&amp;gt; our best option?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; But this got me thinking. Its obviously a corner case in convert
&lt;br&gt;&amp;gt; extension to create this, but should hg care for newline?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thx for ideas,
&lt;br&gt;&amp;gt; Igor
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;(keeping old msg for mercurial-devel)
&lt;br&gt;&lt;br&gt;Should anyone be interested, hg convert preserves newline.
&lt;br&gt;&lt;br&gt;But the following patch did the trick:
&lt;br&gt;diff -r d266aa7606ce hgext/convert/convcmd.py
&lt;br&gt;--- a/hgext/convert/convcmd.py &amp;nbsp;Wed Nov 18 00:19:42 2009 +0100
&lt;br&gt;+++ b/hgext/convert/convcmd.py &amp;nbsp;Fri Nov 27 12:54:10 2009 +0100
&lt;br&gt;@@ -266,12 +266,13 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;def cachecommit(self, rev):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;commit = self.source.getcommit(rev)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;commit.author = self.authors.get(commit.author, commit.author)
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;commit.branch = self.branchmap.get(commit.branch, commit.branch)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;commit.branch = self.branchmap.get(commit.branch,
&lt;br&gt;commit.branch).strip()
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.commitcache[rev] = commit
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return commit
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;def copy(self, rev):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;commit = self.commitcache[rev]
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;commit.branch = commit.branch.strip()
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;changes = self.source.getchanges(rev)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if isinstance(changes, basestring):
&lt;br&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26541614&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/newline-in-branch-name---how-to-recover-repo-tp26541099p26541614.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26541144</id>
	<title>Re: RFC: Would you care if mq stopped storing patch files physically  on disk?</title>
	<published>2009-11-27T03:25:58Z</published>
	<updated>2009-11-27T03:25:58Z</updated>
	<author>
		<name>Igor Lautar-3</name>
	</author>
	<content type="html">On Fri, Nov 27, 2009 at 12:23 PM, Alpar Juttner
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26541144&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ajuttner.list@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; On Fri, 2009-11-27 at 09:47 +0100, Igor Lautar wrote:
&lt;br&gt;&amp;gt; Have you considered using
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; hg qref -u
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; for doinf this?
&lt;br&gt;&lt;br&gt;Well, I wasn't aware of it so I did what I found was fastest solution
&lt;br&gt;at the time. Looking @ help of qref, it should work as well.
&lt;br&gt;&lt;br&gt;Thx for the tip,
&lt;br&gt;Igor
&lt;br&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26541144&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RFC%3A-Would-you-care-if-mq-stopped-storing-patch-files-physically-on--disk--tp26538933p26541144.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26541117</id>
	<title>Re: RFC: Would you care if mq stopped storing patch files physically  on disk?</title>
	<published>2009-11-27T03:23:46Z</published>
	<updated>2009-11-27T03:23:46Z</updated>
	<author>
		<name>Alpar Juttner-2</name>
	</author>
	<content type="html">On Fri, 2009-11-27 at 09:47 +0100, Igor Lautar wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Fri, Nov 27, 2009 at 8:53 AM, Peter Arrenbrecht
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26541117&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;peter.arrenbrecht@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; So, are you using the fact that mq stores the patch files physically
&lt;br&gt;&amp;gt; &amp;gt; on disk in your workflows? If so, how? What are the crucial aspects
&lt;br&gt;&amp;gt; &amp;gt; for you?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've found it convenient on one occasion to change author of
&lt;br&gt;&amp;gt; changesets using MQ patches. This was done using sed directly on
&lt;br&gt;&amp;gt; patches on disk.
&lt;br&gt;&amp;gt; Need for this was because user forgot to set his ui.username properly
&lt;br&gt;&amp;gt; and commited w/o it.
&lt;/div&gt;&lt;br&gt;Have you considered using
&lt;br&gt;&lt;br&gt;hg qref -u
&lt;br&gt;&lt;br&gt;for doinf this?
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Alpar
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Mercurial mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26541117&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26541117&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RFC%3A-Would-you-care-if-mq-stopped-storing-patch-files-physically-on--disk--tp26538933p26541117.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26541099</id>
	<title>newline in branch name - how to recover repo</title>
	<published>2009-11-27T03:22:05Z</published>
	<updated>2009-11-27T03:22:05Z</updated>
	<author>
		<name>Igor Lautar-3</name>
	</author>
	<content type="html">Hi All,
&lt;br&gt;&lt;br&gt;I have a weird problem.
&lt;br&gt;&lt;br&gt;Some history how we come to this state:
&lt;br&gt;&amp;nbsp;- we migrated from svn
&lt;br&gt;&amp;nbsp;- I've used hg convert to convert this svn repo to hg (using just
&lt;br&gt;part of whole repo)
&lt;br&gt;&amp;nbsp;- convert was done on a subdirectory (ie. not trunk but 'src' dir inside it)
&lt;br&gt;&amp;nbsp;- this was done for two branches
&lt;br&gt;&amp;nbsp;- branchmap was used to link 'src' from trunk to 'default' and the
&lt;br&gt;one from branch to 'v1' (arbitrary names)
&lt;br&gt;&amp;nbsp;- shamap was also used to properly link v1 with default
&lt;br&gt;&lt;br&gt;How the weird problem. This was originally done on windows system and
&lt;br&gt;later moved to linux where repo was incrementally converted few times
&lt;br&gt;to sync. This is now final, as we moved to hg.
&lt;br&gt;&lt;br&gt;However, it seams branchmap files (when moved from win to linux)
&lt;br&gt;somehow (CR/LF detection) managed to put extra newline into tag. This
&lt;br&gt;was not obvious from command-line tools (it does not display extra
&lt;br&gt;newline), but from hgtk log, I can see something like:
&lt;br&gt;&lt;br&gt;'default
&lt;br&gt;'
&lt;br&gt;and
&lt;br&gt;'v1
&lt;br&gt;'
&lt;br&gt;&lt;br&gt;It was weird to have 'default' tag show up in logs, but I (wrongly)
&lt;br&gt;ignored it. Stuff was also commited (and merged etc.) later on,
&lt;br&gt;introducing proper branch names.
&lt;br&gt;&lt;br&gt;Now we have 4 branches:
&lt;br&gt;'default'
&lt;br&gt;'default
&lt;br&gt;'
&lt;br&gt;'v1'
&lt;br&gt;'v1
&lt;br&gt;'
&lt;br&gt;&lt;br&gt;Interestingly enough, command line tools do not show newline,
&lt;br&gt;branchheads.cache looks like:
&lt;br&gt;&amp;lt;hash&amp;gt; tip
&lt;br&gt;&amp;lt;hash&amp;gt; default
&lt;br&gt;&amp;lt;hash&amp;gt; default
&lt;br&gt;&amp;lt;hash&amp;gt; v1
&lt;br&gt;&amp;lt;hash&amp;gt; v1
&lt;br&gt;&lt;br&gt;and hg update [default|v1] does the wrong thing.
&lt;br&gt;&lt;br&gt;How to fix this? I have no problem of doing complete hg convert on it
&lt;br&gt;as number of devs is small (two of us for now). Would hg convert be
&lt;br&gt;our best option?
&lt;br&gt;&lt;br&gt;But this got me thinking. Its obviously a corner case in convert
&lt;br&gt;extension to create this, but should hg care for newline?
&lt;br&gt;&lt;br&gt;Thx for ideas,
&lt;br&gt;Igor
&lt;br&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26541099&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/newline-in-branch-name---how-to-recover-repo-tp26541099p26541099.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26540756</id>
	<title>Re: RFC: Would you care if mq stopped storing patch files physically on 	disk?</title>
	<published>2009-11-27T02:50:34Z</published>
	<updated>2009-11-27T02:50:34Z</updated>
	<author>
		<name>Adrian Buehlmann</name>
	</author>
	<content type="html">On 27.11.2009 08:53, Peter Arrenbrecht wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; People reading the devel list may have noticed I am trying to rethink
&lt;br&gt;&amp;gt; and unify mq and pbranch. They are both solutions to what mpm calls
&lt;br&gt;&amp;gt; malleable history. This is also the aspect that I'm interested in:
&lt;br&gt;&amp;gt; malleable parts of history within an hg repo. So part of the plan is
&lt;br&gt;&amp;gt; to get rid of the physical patch files by default. This would free us
&lt;br&gt;&amp;gt; from a bunch of limitations inherited from quilt's approach to patch
&lt;br&gt;&amp;gt; management. However, the latter must also have its merits.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So, are you using the fact that mq stores the patch files physically
&lt;br&gt;&amp;gt; on disk in your workflows? If so, how? What are the crucial aspects
&lt;br&gt;&amp;gt; for you?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Note: Import/export to quilt-style patch queues would still be
&lt;br&gt;&amp;gt; supported, but the physical files would no longer be the master copy.
&lt;/div&gt;&lt;br&gt;I think trying to start tweaking mq from this angle (unifying mq
&lt;br&gt;and pbranch) is the wrong approach.
&lt;br&gt;&lt;br&gt;Accept the fact that mq and pbranch are two different things
&lt;br&gt;and leave mq as it is.
&lt;br&gt;&lt;br&gt;Average users are still not using mq enough yet or have really
&lt;br&gt;understood how it can be used. Trying to further tweak it *now* or
&lt;br&gt;adding yet another variant in addition to mq and pbranch is just
&lt;br&gt;the wrong approach.
&lt;br&gt;&lt;br&gt;Use what we have.
&lt;br&gt;&lt;br&gt;And no, mq is not broken or needs to be fixed.
&lt;br&gt;&lt;br&gt;Time would be better spent to improve access to the current
&lt;br&gt;features of mq (and probably pbranch), instead of inventing yet
&lt;br&gt;more complex or just &amp;quot;new&amp;quot; ones.
&lt;br&gt;&lt;br&gt;As such the new support for mq in the recently released
&lt;br&gt;TortoiseHg 0.9 is a big step in the right direction.
&lt;br&gt;And users would most likely benefit the most if mq support
&lt;br&gt;in TortoiseHg could be improved and extended.
&lt;br&gt;For example, being able to add patches to the queue from
&lt;br&gt;within the GUI would be very nice to have. It doesn't even
&lt;br&gt;have to be drag and drop.
&lt;br&gt;&lt;br&gt;To answer the question: yes I do use the fact that patches
&lt;br&gt;are stored on disk by mq. I sometimes copy patches from one
&lt;br&gt;repo to another, dropping them into the .hg/patches dir.
&lt;br&gt;&lt;br&gt;Although I must admit I haven't yet fully understood how
&lt;br&gt;pbranch works and why it could be useful. I am currently
&lt;br&gt;in the state of using mq regularly. Although it took me
&lt;br&gt;quite some time to get comfortable using it. And this was *not*
&lt;br&gt;mq's fault (at least not the fault of its basic design,
&lt;br&gt;the ui is another story...).
&lt;br&gt;&lt;br&gt;Frankly, pbranch hasn't yet exited the &amp;quot;obscure&amp;quot; status for me
&lt;br&gt;personally (which is most likely not the fault of pbranch,
&lt;br&gt;since I went though a similar phase regarding mq).
&lt;br&gt;&lt;br&gt;The advent of support in TortoiseHg for mq has had a
&lt;br&gt;big influence in this regard for me.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26540756&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RFC%3A-Would-you-care-if-mq-stopped-storing-patch-files-physically-on--disk--tp26538933p26540756.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26539456</id>
	<title>Re: RFC: Would you care if mq stopped storing patch files physically  on disk?</title>
	<published>2009-11-27T00:51:49Z</published>
	<updated>2009-11-27T00:51:49Z</updated>
	<author>
		<name>peso</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/11/27 Peter Arrenbrecht &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26539456&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;peter.arrenbrecht@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
So, are you using the fact that mq stores the patch files physically&lt;br&gt;
on disk in your workflows? If so, how? What are the crucial aspects&lt;br&gt;
for you?&lt;br&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;In cases where I have several clones of a repository, I sometimes move patch files between repositories.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I have several mini-projects for TortoiseHg, each of them have one or more repositories. The patch file moving occurs if if I fix a bug or make a new feature, while working on something else.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Regards,&lt;/div&gt;&lt;div&gt;Peer&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26539456&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RFC%3A-Would-you-care-if-mq-stopped-storing-patch-files-physically-on--disk--tp26538933p26539456.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26539416</id>
	<title>Re: RFC: Would you care if mq stopped storing patch files physically  on disk?</title>
	<published>2009-11-27T00:47:19Z</published>
	<updated>2009-11-27T00:47:19Z</updated>
	<author>
		<name>Igor Lautar-3</name>
	</author>
	<content type="html">On Fri, Nov 27, 2009 at 8:53 AM, Peter Arrenbrecht
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26539416&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;peter.arrenbrecht@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; So, are you using the fact that mq stores the patch files physically
&lt;br&gt;&amp;gt; on disk in your workflows? If so, how? What are the crucial aspects
&lt;br&gt;&amp;gt; for you?
&lt;br&gt;&lt;br&gt;I've found it convenient on one occasion to change author of
&lt;br&gt;changesets using MQ patches. This was done using sed directly on
&lt;br&gt;patches on disk.
&lt;br&gt;Need for this was because user forgot to set his ui.username properly
&lt;br&gt;and commited w/o it.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26539416&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RFC%3A-Would-you-care-if-mq-stopped-storing-patch-files-physically-on--disk--tp26538933p26539416.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26538984</id>
	<title>RE: Would you care if mq stopped storing patch files physically on disk?</title>
	<published>2009-11-26T23:57:41Z</published>
	<updated>2009-11-26T23:57:41Z</updated>
	<author>
		<name>Jiang, Yunhong</name>
	</author>
	<content type="html">Sometimes I qpop. edit the patch directly and qpush again. I'm not sure if it's efficient method, but that means the answer to your question is &amp;quot;Yes&amp;quot;.
&lt;br&gt;&lt;br&gt;--jyh
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538984&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mercurial-bounces@...&lt;/a&gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; People reading the devel list may have noticed I am trying to rethink
&lt;br&gt;&amp;gt; and unify mq and pbranch. They are both solutions to what mpm calls
&lt;br&gt;&amp;gt; malleable history. This is also the aspect that I'm interested in:
&lt;br&gt;&amp;gt; malleable parts of history within an hg repo. So part of the plan is
&lt;br&gt;&amp;gt; to get rid of the physical patch files by default. This would free us
&lt;br&gt;&amp;gt; from a bunch of limitations inherited from quilt's approach to patch
&lt;br&gt;&amp;gt; management. However, the latter must also have its merits.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So, are you using the fact that mq stores the patch files physically
&lt;br&gt;&amp;gt; on disk in your workflows? If so, how? What are the crucial aspects
&lt;br&gt;&amp;gt; for you? 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Note: Import/export to quilt-style patch queues would still be
&lt;br&gt;&amp;gt; supported, but the physical files would no longer be the master copy.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; -parren
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Mercurial mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538984&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;/div&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538984&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RFC%3A-Would-you-care-if-mq-stopped-storing-patch-files-physically-on--disk--tp26538933p26538984.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26538933</id>
	<title>RFC: Would you care if mq stopped storing patch files physically on  disk?</title>
	<published>2009-11-26T23:53:10Z</published>
	<updated>2009-11-26T23:53:10Z</updated>
	<author>
		<name>Peter Arrenbrecht</name>
	</author>
	<content type="html">People reading the devel list may have noticed I am trying to rethink
&lt;br&gt;and unify mq and pbranch. They are both solutions to what mpm calls
&lt;br&gt;malleable history. This is also the aspect that I'm interested in:
&lt;br&gt;malleable parts of history within an hg repo. So part of the plan is
&lt;br&gt;to get rid of the physical patch files by default. This would free us
&lt;br&gt;from a bunch of limitations inherited from quilt's approach to patch
&lt;br&gt;management. However, the latter must also have its merits.
&lt;br&gt;&lt;br&gt;So, are you using the fact that mq stores the patch files physically
&lt;br&gt;on disk in your workflows? If so, how? What are the crucial aspects
&lt;br&gt;for you?
&lt;br&gt;&lt;br&gt;Note: Import/export to quilt-style patch queues would still be
&lt;br&gt;supported, but the physical files would no longer be the master copy.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;-parren
&lt;br&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538933&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RFC%3A-Would-you-care-if-mq-stopped-storing-patch-files-physically-on--disk--tp26538933p26538933.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26538033</id>
	<title>Re: hg up and uncommitted deletes</title>
	<published>2009-11-26T21:23:32Z</published>
	<updated>2009-11-26T21:23:32Z</updated>
	<author>
		<name>webguy7890</name>
	</author>
	<content type="html">ok, i'll try to upgrade to a newer version. &amp;nbsp;thanks for your help.
&lt;br&gt;happy thanksgiving!
&lt;br&gt;&lt;br&gt;On Nov 26, 4:49 am, Matt Mackall &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538033&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;m...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Tue, 2009-11-24 at 18:33 -0800, steve wrote:
&lt;br&gt;&amp;gt; &amp;gt; i am doing the following with hg 1.0.2:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; s@linux-2fjb:~/tmp&amp;gt; hg init repo
&lt;br&gt;&amp;gt; &amp;gt; s@linux-2fjb:~/tmp&amp;gt; cd repo/
&lt;br&gt;&amp;gt; &amp;gt; s@linux-2fjb:~/tmp/repo&amp;gt; touch foo.txt
&lt;br&gt;&amp;gt; &amp;gt; s@linux-2fjb:~/tmp/repo&amp;gt; hg add foo.txt
&lt;br&gt;&amp;gt; &amp;gt; s@linux-2fjb:~/tmp/repo&amp;gt; hg ci -m 'added foo' foo.txt
&lt;br&gt;&amp;gt; &amp;gt; s@linux-2fjb:~/tmp/repo&amp;gt; hg mv foo.txt bar.txt
&lt;br&gt;&amp;gt; &amp;gt; s@linux-2fjb:~/tmp/repo&amp;gt; hg stat .
&lt;br&gt;&amp;gt; &amp;gt; A bar.txt
&lt;br&gt;&amp;gt; &amp;gt; R foo.txt
&lt;br&gt;&amp;gt; &amp;gt; s@linux-2fjb:~/tmp/repo&amp;gt; hg up
&lt;br&gt;&amp;gt; &amp;gt; 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
&lt;br&gt;&amp;gt; &amp;gt; s@linux-2fjb:~/tmp/repo&amp;gt; hg stat .
&lt;br&gt;&amp;gt; &amp;gt; A bar.txt
&lt;br&gt;&amp;gt; &amp;gt; s@linux-2fjb:~/tmp/repo&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; maybe i am just not understanding the differences between 'hg up' and
&lt;br&gt;&amp;gt; &amp;gt; 'svn up'.  afaik, 'hg pull' will pull updates from other repo into my
&lt;br&gt;&amp;gt; &amp;gt; local repo, and that 'hg up' will update the local copy from the local
&lt;br&gt;&amp;gt; &amp;gt; repo.  since i didn't change my local repo, 'hg up' shouldn't do
&lt;br&gt;&amp;gt; &amp;gt; anything. but instead, it undoes my uncommitted delete.  i have a
&lt;br&gt;&amp;gt; &amp;gt; habit of doing an update before committing.  i want to figure out what
&lt;br&gt;&amp;gt; &amp;gt; the expected behavior is so i could adapt accordingly.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Updating to the parent of the working directory (rather than an actually
&lt;br&gt;&amp;gt; newer revision) did act a little strangely pre-1.3. Recommend you update
&lt;br&gt;&amp;gt; to a modern hg, which has a cleaner internal notion of a &amp;quot;backwards
&lt;br&gt;&amp;gt; update&amp;quot; (where basically nothing happens in this case).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --&lt;a href=&quot;http://selenic.com:&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com:&lt;/a&gt;&amp;nbsp;development and support for Mercurial and Linux
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Mercurial mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538033&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercur...@...&lt;/a&gt;://selenic.com/mailman/listinfo/mercurial
&lt;/div&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538033&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/hg-up-and-uncommitted-deletes-tp26491452p26538033.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26537331</id>
	<title>Re: TortoiseHg: Browsing Remote Repositories</title>
	<published>2009-11-26T18:43:06Z</published>
	<updated>2009-11-26T18:43:06Z</updated>
	<author>
		<name>Steve Borho</name>
	</author>
	<content type="html">On Thu, Nov 26, 2009 at 5:57 PM, Stephen Rasku &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26537331&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mercurial@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Thu, Nov 26, 2009 at 15:46, Adrian Buehlmann &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26537331&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;adrian@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; On 27.11.2009 00:02, Stephen Rasku wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; A quick question:  Is it possible to use TortoiseHg to browse remote
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; repositories without cloning them locally?  If not, is that feature
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; planned for the future?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; No, this is not possible.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; No, it is not planned.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; And it is very unlikely to be planned ever because Mercurial is a DVCS
&lt;br&gt;&amp;gt;&amp;gt; (= use your local history).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; But I don't necessarily want to have a local copy of a large
&lt;br&gt;&amp;gt; repository on my local system.  I can currently view history remotely
&lt;br&gt;&amp;gt; running &amp;quot;hg serve&amp;quot; or hgwebdir on the remote machine.  I would think
&lt;br&gt;&amp;gt; that Tortoise could use a similar mechanism to provide remote viewing
&lt;br&gt;&amp;gt; but providing a richer interface than the web interface does.
&lt;/div&gt;&lt;br&gt;The work required dwarfs any benefit you would get from such a
&lt;br&gt;feature. &amp;nbsp;I don't see TortoiseHg even trying to do anything like this
&lt;br&gt;before Mercurial supported some sort of remote API, and the chances of
&lt;br&gt;that happening are pretty slim.
&lt;br&gt;&lt;br&gt;It's certainly not on either project's road map.
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Steve Borho
&lt;br&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26537331&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/TortoiseHg%3A-Browsing-Remote-Repositories-tp26536035p26537331.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26536662</id>
	<title>Re: What's next for pbranch?</title>
	<published>2009-11-26T16:46:23Z</published>
	<updated>2009-11-26T16:46:23Z</updated>
	<author>
		<name>pwil3058</name>
	</author>
	<content type="html">On 26/11/09 10:21, Peter Williams wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 26/11/09 00:05, Christian Boos wrote:
&lt;br&gt;&amp;gt;&amp;gt; Peter Arrenbrecht wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; On Wed, Nov 25, 2009 at 6:56 AM, Peter Williams
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536662&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pwil3058@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; [snip]
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; That doesn't mean that MQ doesn't have its uses. For its intended
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; purpose,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; keeping a set of local patches against an externally managed source
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; tree
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; (e.g. the Linux kernel), it is superior to pbranch.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; And I'm sure that for some purposes pbranch is superior to MQ.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Actually, for the specific case you mention I personally find pbranch
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; to be superior. I use it to maintain a set of local patches against hg
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; crew, for instance. Unlike mq pbranch uses regular hg merges for
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; updating the patches against changes in upstream.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Note that with Mercurial 1.4, you can now safely use 'hg rebase' for
&lt;br&gt;&amp;gt;&amp;gt; rebasing your MQ patch queue.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Does this mean that the rebase bugs have been fixed? I didn't notice the
&lt;br&gt;&amp;gt; patches go in. It's good news if it does because rebase is a better
&lt;br&gt;&amp;gt; solution than the 'qsave dance' described in the book.
&lt;/div&gt;&lt;br&gt;I've just checked the list of bugs and there are still some unresolved 
&lt;br&gt;ones that make the use of rebase with MQ inadvisable. &amp;nbsp;So I'll abstain 
&lt;br&gt;for the time being.
&lt;br&gt;&lt;br&gt;Peter
&lt;br&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536662&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/What%27s-next-for-pbranch--tp26466658p26536662.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26536555</id>
	<title>Re: What's next for pbranch?</title>
	<published>2009-11-26T16:31:14Z</published>
	<updated>2009-11-26T16:31:14Z</updated>
	<author>
		<name>pwil3058</name>
	</author>
	<content type="html">On 26/11/09 18:12, Peter Arrenbrecht wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Thu, Nov 26, 2009 at 1:16 AM, Peter Williams&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536555&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pwil3058@...&lt;/a&gt;&amp;gt; &amp;nbsp;wrote:
&lt;br&gt;&amp;gt;&amp;gt; On 25/11/09 22:48, Peter Arrenbrecht wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; On Wed, Nov 25, 2009 at 6:56 AM, Peter Williams&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536555&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pwil3058@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; [snip]
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; That doesn't mean that MQ doesn't have its uses. &amp;nbsp;For its intended
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; purpose,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; keeping a set of local patches against an externally managed source tree
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; (e.g. the Linux kernel), it is superior to pbranch.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; And I'm sure that for some purposes pbranch is superior to MQ.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Actually, for the specific case you mention I personally find pbranch
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; to be superior. I use it to maintain a set of local patches against hg
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; crew, for instance. Unlike mq pbranch uses regular hg merges for
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; updating the patches against changes in upstream.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; It may be that I haven't got my head around how pbranch operates (in spite
&lt;br&gt;&amp;gt;&amp;gt; of adding GUI support for it to gwsmhg) that prevents me from agreeing.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; Basically, I just don't see what it's offering and I especially worry that
&lt;br&gt;&amp;gt;&amp;gt; it seems to permanently pollute the repository where as MQ keeps the patches
&lt;br&gt;&amp;gt;&amp;gt; separate (except when they're applied).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It offers a clean history of what happened when. Try to forget for a
&lt;br&gt;&amp;gt; moment about the idea of a patch. Think instead about branches. I
&lt;br&gt;&amp;gt; personally have a bunch of tweaks to my Hg install. I maintain these
&lt;br&gt;&amp;gt; as a set of independent branches off of crew. When crew updates, I
&lt;br&gt;&amp;gt; simply merge it into each of these branches. And I merge the heads of
&lt;br&gt;&amp;gt; all these branches together again for my installed version. So this is
&lt;br&gt;&amp;gt; my pgraph:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; @ &amp;nbsp; &amp;nbsp;rel
&lt;br&gt;&amp;gt; |\
&lt;br&gt;&amp;gt; | \
&lt;br&gt;&amp;gt; | |\
&lt;br&gt;&amp;gt; | | \
&lt;br&gt;&amp;gt; | | |\
&lt;br&gt;&amp;gt; o | | | &amp;nbsp;bashcomp-meld
&lt;br&gt;&amp;gt; | | | |
&lt;br&gt;&amp;gt; | o | | &amp;nbsp;hgrc-defaults-in-parentdirs
&lt;br&gt;&amp;gt; |/ / /
&lt;br&gt;&amp;gt; | o | &amp;nbsp;transplant-merge-all
&lt;br&gt;&amp;gt; | | |
&lt;br&gt;&amp;gt; +---o &amp;nbsp;graphlog-collapse-runs
&lt;br&gt;&amp;gt; | |
&lt;br&gt;&amp;gt; | o &amp;nbsp;transplant-unless
&lt;br&gt;&amp;gt; | |
&lt;br&gt;&amp;gt; | o &amp;nbsp;transplant-merges
&lt;br&gt;&amp;gt; | |
&lt;br&gt;&amp;gt; | o &amp;nbsp;transplant-nochange
&lt;br&gt;&amp;gt; |/
&lt;br&gt;&amp;gt; o &amp;nbsp;default
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I never think in terms of patches here, except when reviewing what a
&lt;br&gt;&amp;gt; particular branch does (I want to see its cumulative effect against
&lt;br&gt;&amp;gt; crew). But I keep the changes in separate branches so I can fix stuff
&lt;br&gt;&amp;gt; in isolation when crew changes incompatibly, without possible
&lt;br&gt;&amp;gt; side-effects from others of my changes. Incidentally, this is one
&lt;br&gt;&amp;gt; reason why one might one to use qguard with mq - to test patches in
&lt;br&gt;&amp;gt; isolation.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So this is pbranch in &amp;quot;merge flow orchestration&amp;quot; mode. At any time, I
&lt;br&gt;&amp;gt; know exactly what my installed version of hg looked like, can revert
&lt;br&gt;&amp;gt; to it, can get meaningful diffs, etc. All with basically standard hg
&lt;br&gt;&amp;gt; operations on my main repo. No need for versioned patch files and
&lt;br&gt;&amp;gt; interdiff.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Should I really want to get rid of the pbranch cruft again, I would
&lt;br&gt;&amp;gt; simply reclone crew, apply my pdiffs to it, and drop the pbranch-repo.
&lt;br&gt;&amp;gt; (Or, once it's done, use the proposed pfinish.) But so far, I saw no
&lt;br&gt;&amp;gt; need for that. Some of my local patches were accepted upstream, so I
&lt;br&gt;&amp;gt; simply merge them, resulting in an empty pdiff, and then close them. I
&lt;br&gt;&amp;gt; keep my personal history.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Where mq is far superior, though, is when the set of active patches
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; needs to change at will (qguard).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I never use this feature and struggle to imagine cases where it would be
&lt;br&gt;&amp;gt;&amp;gt; useful. &amp;nbsp;That's why (at the moment) both gquilt and gwsmhg ignore them and
&lt;br&gt;&amp;gt;&amp;gt; probably will continue to do so unless I receive requests to add support for
&lt;br&gt;&amp;gt;&amp;gt; them.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; See above.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; On the other hand, pbranch maintains a true graph of patch
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; dependencies, whereas mq is linear (unless you count judicious use of
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; qguard as a sort of graph management).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I (mostly) only use linear patch series as I'm usually breaking up some
&lt;br&gt;&amp;gt;&amp;gt; large change (e.g. adding plug in CPU schedulers to the Linux kernel) into
&lt;br&gt;&amp;gt;&amp;gt; easily digestible (for a reviewer) chunks in an order that is (hopefully)
&lt;br&gt;&amp;gt;&amp;gt; logical for the reviewer (and, at least, for myself).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have switched to pbranch for this, too. The reason here is: Imagine
&lt;br&gt;&amp;gt; I make a change to one of the later patches. While doing so, I realize
&lt;br&gt;&amp;gt; some of the changes should really go into an earlier patch, or a later
&lt;br&gt;&amp;gt; patch, or even a new intermediate patch. With mq, this takes some
&lt;br&gt;&amp;gt; judicious shuffling with qref -X/-I, qrecord, qpush/pop -f, etc. I
&lt;br&gt;&amp;gt; more than once lost some of my changes due to mishandling mq while the
&lt;br&gt;&amp;gt; changes were in transit to other patches. I hate that.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; With pbranch, I first commit what I did to my current patch. Only then
&lt;br&gt;&amp;gt; do I shuffle parts of the changes around, knowing I have a safe base
&lt;br&gt;&amp;gt; to return to. I guess there is a workable way to do this with mq too,
&lt;br&gt;&amp;gt; like qref on the current patch for the safe base, then import
&lt;br&gt;&amp;gt; --no-commit of the patch into earlier patches and revert all that's
&lt;br&gt;&amp;gt; unneeded there, then qref, then update back to the first patch and
&lt;br&gt;&amp;gt; qref again, resolving the resulting conflicts (ugh), etc.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Same when upstream changes. I have a clearly defined safe base to
&lt;br&gt;&amp;gt; return to if anything gets borked on the merge.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; For me, it boils down to pbranch doing things the hg way, using
&lt;br&gt;&amp;gt; merge's and update's built-in merge logic when shuffling things
&lt;br&gt;&amp;gt; around, whereas mq always has these patch rejects and stuff, that
&lt;br&gt;&amp;gt; totally fall out of the normal workflow, don't get merge tool support,
&lt;br&gt;&amp;gt; and can lead to loss of data.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Maybe even deeper integration of mq with rebase could alleviate this.
&lt;br&gt;&amp;gt; Or maybe moving away from the idea of patch files entirely and using
&lt;br&gt;&amp;gt; rebase with multiple in-flight versions of csets. Shall think about
&lt;br&gt;&amp;gt; this in a separate email.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Anyhow, as you said before, mq has use cases where it's an excellent
&lt;br&gt;&amp;gt; choice. I believe so has pbranch.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [snip]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; PS Have you had a chance to play with the pbranch interface in gwsmhg yet?
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; If so do you have any suggestions for improvement (other than adding a
&lt;br&gt;&amp;gt;&amp;gt; decent graphical display of the dependency graph which is on my list albeit
&lt;br&gt;&amp;gt;&amp;gt; at the end)?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yes. Although I do miss the graphical view. And I'm really more of a
&lt;br&gt;&amp;gt; hgtk (TortoiseHg) guy, so since Peer is building pbranch support for
&lt;br&gt;&amp;gt; that, I guess I'll stay with hgtk. Note, too, that startup time for
&lt;br&gt;&amp;gt; gwsmhg for my local hg is hugely slower than for hgtk stat. You might
&lt;br&gt;&amp;gt; want to look into that.
&lt;/div&gt;&lt;br&gt;It also preloads a large chunk of history. &amp;nbsp;Maybe I can make the size of 
&lt;br&gt;the chunk smaller (or even configurable).
&lt;br&gt;&lt;br&gt;When I last did timings, the great majority of gwsmhg's delays is due to 
&lt;br&gt;the time the hg commands take to run. &amp;nbsp;This might be speeded up slightly 
&lt;br&gt;by importing Mercurial code and running the functions directly instead 
&lt;br&gt;of running hg commands but that has the disadvantage of a more dynamic 
&lt;br&gt;interface (meaning that matching versions of hg becomes a problem -- as 
&lt;br&gt;for hgtk refusing to install on Fedora 12 because it wanted hg-1.4 and 
&lt;br&gt;only hg-1.3.1 was available and pbranch not working on Fedora 12 at the 
&lt;br&gt;moment) -- and also raises potential data caching issues within 
&lt;br&gt;Mercurial. &amp;nbsp;gwsmhg can't used cache data to make decisions because it 
&lt;br&gt;may be changed by the use of hg commands externally so the only caching 
&lt;br&gt;is that inherently present in display of the data. &amp;nbsp;Because hg commands 
&lt;br&gt;don't have this concern I can't be certain that some caching of data 
&lt;br&gt;occurs within its code and this could be transferred to gwsmhg if I 
&lt;br&gt;import its code directly.
&lt;br&gt;&lt;br&gt;Another aspect that slows gwsmhg is the need to update all displayed 
&lt;br&gt;data when there is a POSSIBILITY that it has changed. &amp;nbsp;I'm investigating 
&lt;br&gt;using pyinotify to improve this aspect but any solution would be 
&lt;br&gt;restricted to Linux versions.
&lt;br&gt;&lt;br&gt;Peter
&lt;br&gt;_______________________________________________
&lt;br&gt;Mercurial mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536555&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mercurial@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://selenic.com/mailman/listinfo/mercurial&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenic.com/mailman/listinfo/mercurial&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/What%27s-next-for-pbranch--tp26466658p26536555.html" />
</entry>

</feed>
