summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--BUGS6
-rw-r--r--Makefile.in2
-rw-r--r--doc/README.in2
-rw-r--r--po/de.po4
-rw-r--r--po/fr.po4
-rw-r--r--po/ja.po4
-rw-r--r--po/quilt.pot4
-rw-r--r--quilt.changes7
-rw-r--r--quilt/refresh.in4
-rw-r--r--scripts/patchfns.in26
10 files changed, 31 insertions, 32 deletions
diff --git a/BUGS b/BUGS
deleted file mode 100644
index e03c135..0000000
--- a/BUGS
+++ /dev/null
@@ -1,6 +0,0 @@
-* Patch destroys the backup files it generates if a file appears more
- than once in a patch. This is the reason why we use the backup-files
- utility instead.
-
-* rpatch should only look at .pc/applied-patches, not at the series
- file.
diff --git a/Makefile.in b/Makefile.in
index e99f33d..6d10788 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -44,7 +44,7 @@ ISODATE := $(shell date +%Y-%m-%d)
DIRT += $(shell find -name '*~')
DIRT += $(shell find -name '.\#*')
-SRC += COPYING AUTHORS TODO BUGS Makefile.in \
+SRC += COPYING AUTHORS TODO Makefile.in \
configure.ac config/install-sh \
quilt.spec.in quilt.changes \
bash_completion quilt.quiltrc
diff --git a/doc/README.in b/doc/README.in
index 446574c..412610c 100644
--- a/doc/README.in
+++ b/doc/README.in
@@ -31,5 +31,5 @@ touched-by-patch filename
backup-files
A simple utility that creates / restores / removes
- backup files; this works around a patch bug (see BUGS).
+ backup files.
diff --git a/po/de.po b/po/de.po
index 72c9e7a..f873697 100644
--- a/po/de.po
+++ b/po/de.po
@@ -1164,7 +1164,7 @@ msgstr ""
"zur Erzeugung des Arbeitsverzeichnis verwendet wurden, oder entfernen Sie "
"das Verzeichnis %s, und wenden Sie die Patches neu an.\\n"
-#: ../scripts/patchfns.in:742
+#: ../scripts/patchfns.in:740
msgid ""
"The quilt meta-data in this tree has version %s, but this version of quilt "
"can only handle meta-data formats up to and including version %s. Please pop "
@@ -1177,7 +1177,7 @@ msgstr ""
"quilt alle Patches mit der Version von quilt, die zur Erstellung des "
"Arbeitsverzeichnisses verwendet wurde.\\n"
-#: ../scripts/patchfns.in:819
+#: ../scripts/patchfns.in:817
msgid ""
"The working tree was created by an older version of quilt. Please run 'quilt "
"upgrade'.\\n"
diff --git a/po/fr.po b/po/fr.po
index 649daa9..d64f7fa 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -1139,7 +1139,7 @@ msgstr ""
"version utilise pour crer cet arbre de travail, ou effacez le rpertoire\n"
"%s et rappliquez compltement vos patchs.\\n"
-#: ../scripts/patchfns.in:742
+#: ../scripts/patchfns.in:740
msgid ""
"The quilt meta-data in this tree has version %s, but this version of quilt "
"can only handle meta-data formats up to and including version %s. Please pop "
@@ -1151,7 +1151,7 @@ msgstr ""
"format %s (inclus). Veuillez retirer vos patches avec la version \n"
"utilise pour les appliquer avant d'installer une version plus ancienne.\\n"
-#: ../scripts/patchfns.in:819
+#: ../scripts/patchfns.in:817
msgid ""
"The working tree was created by an older version of quilt. Please run 'quilt "
"upgrade'.\\n"
diff --git a/po/ja.po b/po/ja.po
index b0a82a1..46427ca 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -1153,7 +1153,7 @@ msgstr ""
"pop -a'を実行し、すべてのパッチをはずしてください。または、%s ディレク\n"
"トリを削除し、最初からパッチをあて直してください。\\n"
-#: ../scripts/patchfns.in:742
+#: ../scripts/patchfns.in:740
msgid ""
"The quilt meta-data in this tree has version %s, but this version of quilt "
"can only handle meta-data formats up to and including version %s. Please pop "
@@ -1165,7 +1165,7 @@ msgstr ""
"ていません。ダウングレードする前に、pushしたバージョンの quiltを使って、\n"
"すべてのパッチを pop してください。\\n"
-#: ../scripts/patchfns.in:819
+#: ../scripts/patchfns.in:817
msgid ""
"The working tree was created by an older version of quilt. Please run 'quilt "
"upgrade'.\\n"
diff --git a/po/quilt.pot b/po/quilt.pot
index 932d9d9..829e95a 100644
--- a/po/quilt.pot
+++ b/po/quilt.pot
@@ -833,7 +833,7 @@ msgid ""
"patches from scratch.\\n"
msgstr ""
-#: ../scripts/patchfns.in:742
+#: ../scripts/patchfns.in:740
msgid ""
"The quilt meta-data in this tree has version %s, but this version of quilt "
"can only handle meta-data formats up to and including version %s. Please pop "
@@ -841,7 +841,7 @@ msgid ""
"downgrading.\\n"
msgstr ""
-#: ../scripts/patchfns.in:819
+#: ../scripts/patchfns.in:817
msgid ""
"The working tree was created by an older version of quilt. Please run 'quilt "
"upgrade'.\\n"
diff --git a/quilt.changes b/quilt.changes
index 8904959..dc4219c 100644
--- a/quilt.changes
+++ b/quilt.changes
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Sat Jul 2 13:51:50 CEST 2005 - agruen@suse.de
+
+- Remove outdated BUGS file and references.
+- refresh command: don't write into existing patches but create
+ new files instead to avoid overwriting hardlinked copies.
+
+-------------------------------------------------------------------
Fri Jul 1 16:48:38 CEST 2005 - khali@linux-fr.org
- configure.ac: Add a test on diffstat version. Versions prior
diff --git a/quilt/refresh.in b/quilt/refresh.in
index 2bf70e0..c3a7fc9 100644
--- a/quilt/refresh.in
+++ b/quilt/refresh.in
@@ -295,8 +295,8 @@ if [ -e $patch_file ] && \
then
printf $"Patch %s is unchanged\n" "$(print_patch $patch)"
elif ( [ -z "$QUILT_BACKUP" -o ! -e $patch_file ] || \
- cp $patch_file $patch_file~ ) && \
- cat_to_file $patch_file < $tmp_result
+ mv $patch_file $patch_file~ ) && \
+ cat_to_new_file $patch_file < $tmp_result
then
printf $"Refreshed patch %s\n" "$(print_patch $patch)"
else
diff --git a/scripts/patchfns.in b/scripts/patchfns.in
index 6caf2ca..b46b362 100644
--- a/scripts/patchfns.in
+++ b/scripts/patchfns.in
@@ -610,23 +610,21 @@ cat_file()
done
}
-cat_to_file()
+cat_to_new_file()
{
local filename="$1"
- if [ -z "$filename" ]
- then
- cat
- else
- case "$filename" in
- *.gz|*.tgz)
- gzip -c > "$filename" ;;
- *.bz2)
- bzip2 -c > "$filename" ;;
- *)
- cat > "$filename" ;;
- esac
- fi
+ [ -e "$filename" ] && rm -f "$filename"
+
+ case "$filename" in
+ *.gz)
+ gzip -c ;;
+ *.bz2)
+ bzip2 -c ;;
+ *)
+ cat ;;
+ esac \
+ > "$filename"
}
patch_description()