On May 19, 2010, at 10:56 AM, Adam Barth wrote:

> On Wed, May 19, 2010 at 10:41 AM, Darin Adler <[email protected]> wrote:
>> Lets say I just did "webkit-patch upload" and I am Subversion user and I now 
>> want the patch out of my tree. Does webkit-patch have a command to help me 
>> do it? I can’t just use "svn revert" because that doesn’t handle things like 
>> added, removed, and moved files.
> 
> I've had a similar problem when using SVN.  On git, I use the command "git 
> reset --hard".  Currently, you can use the following command:
> 
> webkit-patch update --force-clean
> 
> That runs both the "update" and the "clean" steps:
> 
> http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/webkitpy/tool/commands/download.py#L46
> 
> We could expose a command that runs just the clean step:
> 
> http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/webkitpy/tool/steps/cleanworkingdirectory.py

These aren’t great replacements for svn-unapply for me.

All I want to do is remove a particular patch from my tree; updating and 
reverting everything is both slower and may have unwanted side effects, such as 
removing changes I made after uploading the patch.

I can see how someone would no longer need svn-unapply once they had switched 
to git.

    -- Darin

_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to