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.

_______________________________________________
Quilt-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/quilt-dev

Reply via email to