quilt-dev
[Top][All Lists]
Advanced

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

Re: [Quilt-dev] Potential quilt bug?


From: Marty E. Plummer
Subject: Re: [Quilt-dev] Potential quilt bug?
Date: Wed, 20 Sep 2017 02:43:40 -0500

On Tue, Sep 19, 2017 at 10:14:28AM +0000, Jean Delvare wrote:
> Hi Marty,
> 
> This is the intended behavior. In order to be able to use quilt
> anywhere in the working tree, there is a project's root discovery
> mechanism. This is done by walking directories up towards the
> filesystem root and stopping as soon as either .pc/ or patches/ is
> found. If nothing is found then the current directory is assumed to be
> your project's root.
> 
> In your case you created patches/ above your project root, but quilt
> can't know that, so it considers that the projet's root must be the
> directory containing patches/.
> 
> You can easily solve the problem by creating /tmp/work/bzip2-
> 1.0.6/patches/ manually before invoking "quilt new". Quilt will see it
> before /tmp/work/patches/ and will thus consider /tmp/work/bzip2-1.0.6/ 
> as the project's root.
> 
> There was once a project to create a new quilt command for the purpose,
> but it was never implemented.
> 
> -- 
> Jean Delvare
> SUSE L3 Support
Very interesting, perhaps it should still be adjusted to only use
../patches if ../.pc exists? Just a thought, and may save folks from
confusion on this subject in the future.



reply via email to

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