Package: quilt
Version: 0.44-6
Severity: normal
Tags: patch
Using "quilt edit toto" in subdirectory titi will correctly add
ROOT_QUILT/titi/toto but will edit the (often new) file ROOT_QUILT/toto
Please consider apply the attached patch
Best regards,
Vince
PS:
In the arch_all patch of quilt, you miss to remove two references to
QUILT_LIB in bin/quilt
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Versions of packages quilt depends on:
ii bzip2 1.0.3-2 high-quality block-sorting file co
ii diffstat 1.41-1 produces graph of changes introduc
ii gawk 1:3.1.5.dfsg-4 GNU awk, a pattern scanning and pr
ii gettext 0.14.5-3 GNU Internationalization utilities
ii patch 2.5.9-4 Apply a diff file to an original
quilt recommends no packages.
-- no debconf information
Index: quilt-0.44/quilt/edit.in
===================================================================
--- quilt-0.44.orig/quilt/edit.in 2006-05-12 15:40:21.000000000 +0200
+++ quilt-0.44/quilt/edit.in 2006-05-12 15:40:30.000000000 +0200
@@ -65,7 +65,7 @@
then
exit $status
fi
-$EDITOR "$@"
+( if [ "$SUBDIR" ]; then cd "$SUBDIR" ; fi && $EDITOR "$@" )
status=$?
for file in "$@"
do