quilt-dev
[Top][All Lists]
Advanced

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

[Quilt-dev] quilt / BitKeeper interactions


From: Jody McIntyre
Subject: [Quilt-dev] quilt / BitKeeper interactions
Date: Wed, 2 Feb 2005 14:13:56 -0500
User-agent: Mutt/1.5.4i

I am using quilt to work on kernel trees managed by BitKeeper.  It mostly
works fine if you add:
QUILT_DIFF_OPTS=-g1
to ~/.quiltrc , which makes patch check out BitKeeper files for editing
when needed.

The problem I've found occurs when you 'quilt add' (or, I suppose,
'quilt edit') a file that's not checked out read-write ('bk co -l' or
'bk get -e'), it gets made writeable and BK gets confused.  For example:

$ quilt add ohci1394.c
File drivers/ieee1394/ohci1394.c added to patch select-net.patch
...
$ bk co -l ohci1394.c
Writable ohci1394.c exists, skipping it.

I can think of two fixes that would work for me:
 - Fail if you attempt to 'quilt add' a file that is not writeable.
 - Add it, but don't make it writeable (remove the chmod call).

I'm open to suggestions on other fixes, and am willing to produce a
patch once there's a consensus on the right way to solve this.

Thanks,
Jody




reply via email to

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