[webkit-dev] What is the webkit-patch version of svn-unapply?
Adam Barth
abarth at webkit.org
Wed May 19 10:56:40 PDT 2010
On Wed, May 19, 2010 at 10:41 AM, Darin Adler <darin at apple.com> 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
Adam
More information about the webkit-dev
mailing list