[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Quilt-dev] [PATCH] Enhanced decoration for "series -v" command
From: |
Andreas Gruenbacher |
Subject: |
Re: [Quilt-dev] [PATCH] Enhanced decoration for "series -v" command |
Date: |
Tue, 14 Jun 2005 12:09:01 +0200 |
User-agent: |
KMail/1.8 |
On Tuesday 14 June 2005 03:49, Peter Williams wrote:
> Index: quilt/quilt/refresh.in
> ===================================================================
> --- quilt.orig/quilt/refresh.in
> +++ quilt/quilt/refresh.in
> @@ -281,6 +281,7 @@ if [ -e $patch_file ] && \
> address@hidden@ -q $patch_file $tmp_result > /dev/null
> then
> printf $"Patch %s is unchanged\n" "$(print_patch $patch)"
> + touch $QUILT_PC/$patch/.timestamp
> exit 0
> fi
This change looks good. Below is an exquivalent, somewhat cleaner version, in
CVS now. Thanks for pointing this out.
Index: quilt/refresh.in
===================================================================
RCS file: /cvsroot/quilt/quilt/quilt/refresh.in,v
retrieving revision 1.40
diff -u -r1.40 refresh.in
--- quilt/refresh.in 6 Jun 2005 19:34:28 -0000 1.40
+++ quilt/refresh.in 14 Jun 2005 10:05:53 -0000
@@ -285,14 +285,11 @@
cat $tmp_patch >> $tmp_result
if [ -e $patch_file ] && \
- @DIFF@ -q $patch_file $tmp_result > /dev/null
+ @DIFF@ -q $patch_file $tmp_result > /dev/null
then
printf $"Patch %s is unchanged\n" "$(print_patch $patch)"
- die 0
-fi
-
-if ( [ -n "$QUILT_BACKUP" -a -e $patch_file ] && \
- ! cp $patch_file $patch_file~ ) || \
+elif ( [ -n "$QUILT_BACKUP" -a -e $patch_file ] && \
+ ! cp $patch_file $patch_file~ ) || \
! cat_to_file $patch_file < $tmp_result
then
die 1
-- Andreas.
- Re: [Quilt-dev] [PATCH] Enhanced decoration for "series -v" command, (continued)
- Re: [Quilt-dev] [PATCH] Enhanced decoration for "series -v" command, Andreas Gruenbacher, 2005/06/14
- Re: [Quilt-dev] [PATCH] Enhanced decoration for "series -v" command, Peter Williams, 2005/06/14
- Re: [Quilt-dev] [PATCH] Enhanced decoration for "series -v" command, Peter Williams, 2005/06/14
- Re: [Quilt-dev] [PATCH] Enhanced decoration for "series -v" command, Andreas Gruenbacher, 2005/06/15
- Re: [Quilt-dev] [PATCH] Enhanced decoration for "series -v" command, Peter Williams, 2005/06/15
- Re: [Quilt-dev] [PATCH] Enhanced decoration for "series -v" command, Peter Williams, 2005/06/15
- Re: [Quilt-dev] [PATCH] Enhanced decoration for "series -v" command, Andreas Gruenbacher, 2005/06/15
- Re: [Quilt-dev] [PATCH] Enhanced decoration for "series -v" command,
Andreas Gruenbacher <=
- Re: [Quilt-dev] [PATCH] Enhanced decoration for "series -v" command, Peter Williams, 2005/06/14
- Re: [Quilt-dev] [PATCH] Enhanced decoration for "series -v" command, Andreas Gruenbacher, 2005/06/14