I copied a playpen and wanted to make it sync up to the top of tree.   
You might think:

svn revert -R
svn update

would do that.  But it doesn't.  You are left with any files that you  
might have created in the old playpen (even after `ant clean`, you  
may have partly-complete work, temp files, patch files, etc.).

RTFM.  No joy.

This is not a problem in p4 because p4 didn't even let you do this.   
You always had to check out a fresh copy to start a new playpen.

Google.  Joy.

http://svn.haxx.se/users/archive-2005-07/0861.shtml
#!/bin/bash
#
# Applies arbitrary commands to any svn status. e.g.
#
# Delete all non-svn files (escape the ? from the shell):
# svnapply \? rm
#
# List all conflicted files:
# svnapply C ls -l

APPLY=$1
shift

svn st | egrep "^\\${APPLY}[ ]+" | \
   sed -e "s|^\\${APPLY}[ ]*||" | \
   xargs -i "$@" '{}' 
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to