bugGNU patch - Bugs: bug #28132, wishlist: report if a patch has...

 
 

bug #28132: wishlist: report if a patch has been applied

Submitted by:  Christoph Berg <myon>
Submitted on:  Mon 30 Nov 2009 04:36:46 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Wont Fix
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 29 Dec 2009 06:16:10 PM UTC, comment #1:

For patches which don't modify the same file more than once in conflicting ways, applying a patch with -R --dry-run will succeed when a patch has been applied already.

It's a deficiency of --dry-run that it doesn't work for arbitrary input. When the input to patch modifies the same file twice, the order of those modifications would also have to be reversed when determining if a patch has already been applied. I have no plans to address the latter problem.

Andreas Gruenbacher <agruen>
Project Administrator
Mon 30 Nov 2009 04:36:46 PM UTC, original submission:

From http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=262308 :

From: "David N. Welton" <davidw@eidetix.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: report if a patch has been applied
Date: Fri, 30 Jul 2004 16:50:48 +0200

It would be nice if patch had an option to report if a patch had
already been applied to a file or files.

Thanks,
Dave

Christoph Berg <myon>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by agruen (Posted a comment)
  • -unavailable- added by myon (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 29 Dec 2009 06:16:10 PM UTCagruenStatusNone=>Wont Fix
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1