quilt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Quilt-dev] quilt fold failing when not in root directory?


From: Joe Green
Subject: Re: [Quilt-dev] quilt fold failing when not in root directory?
Date: Mon, 22 Aug 2005 13:07:36 -0700
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050317)

jerome lacoste wrote:

if I have a project.

Someone sends me a patch relative to a directory below the project's
root directory.

E.g.  with a layout like

cruisecontrol/main/docs
cruisecontrol/main/src
cruisecontrol/main/test
cruisecontrol/...

if I am in cruisecontrol/main

with a patch relative to main, quilf fold fails while patch works.

Is that a limitation to quilt fold? Or am I doing something wrong?
I think this is just a consequence of quilt internals. The quilt setup functions normally cd to the top directory and record the directory where the command was invoked in the SUBDIR environment variable. So all commands actually run from the top directory, and have to explicitly take SUBDIR into account if they wish to.

So, the question is, is this a bug (can't create patches relative to subdirectories), or a feature (don't have to cd to the top to fold in a patch)?

--
Joe Green <address@hidden>
MontaVista Software, Inc.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]