[PATCH stable] mq: fixed ENOENT when qrename to new/directory.patch

Brendan Cully brendan at kublai.com
Wed Mar 31 12:21:04 CDT 2010


On Wednesday, 31 March 2010 at 08:37, Dirkjan Ochtman wrote:
> On Tue, Mar 30, 2010 at 23:12, Brendan Cully <brendan at kublai.com> wrote:
> > I added it because there was a bug about it, not because I myself
> > needed the feature. So I don't have a strong opinion, but I'd still
> > prefer if we kept it. I think it probably helps keep large patch
> > series (larger than I personally use, but mq has always been meant to
> > handle very large series) organized.
> 
> I think many other separation characters could used instead, keeping
> the same nice organization properties (., -, _, =, whatever), so I
> don't particularly by this argument. So then it seems like a rather
> slim benefit for taking into account '/' everywhere in patch names.

Couldn't you make the same argument for the main repo? Supporting
subdirectories complicates things for regular hg too, so why not
disallow them?

More to the point, hg already does support subdirectories -- mq should
just use the same code, and then update the series file. The series
file itself doesn't care at all about /.


More information about the Mercurial-devel mailing list