[PATCH] ctypes-python-bindings branch Rough WC Class
From: Sage La Torra <sagelt_at_gmail.com>
 
Date: 2007-06-15 01:11:43 CEST 
This patch adds a class representing the WC to the new python
 Here's a rundown of the wc class, as it stands:
 WC(path):Creates a new WC object for the working copy located at PATH.
 WC.info(): Returns a string with the same contents as 'svn diff' on
 WC.has_conflict(): If the WC has a conflict, return en entry for the
 WC.delete(path): Schedules PATH for deletion in the next update.
 WC.add(path): Schedules PATH for addition.
 WC.copy(src,dest): Copies SRC to DEST, DEST will be scheduled for
 WC.move(src,dest): Moves SRC to DEST. SRC will be deleted and
 WC.revert(path, recurse, commit_time): Revert PATH. If RECURSE is
 WC.revert_all(show_hidden): Revert everything in the wc. If
 WC.resolve(path): Resolve a conflict on PATH. Not thuroughly tested as of yet.
 WC.text_modified(path): Returns True if the text of PATH has been modified.
 WC.prop_modified(path): Returns True if the props of PATH have been modified.
 WC.wc_entry(path, show_hidden): Returns an entry for PATH. If
 WC.is_scheduled_add(path): Returns True if PATH is scheduled for addition.
 WC.is_scheduled_delete(path): Returns True if PATH is scheduled for deletion.
 WC.diff_path(modified): Returns a string containing a diff of MODIFIED
 svn_kind_to_string(kind): Convert an entry kind to a human-readable string.
 svn_schedule_to_string(schedule): Convert an entry schedule to a
 A little more information about these functions can be found inline in
 I've also included wcexample.py, a simple example/test of the wc
 Hope the patch notes are good, I haven't submitted a patch for
 [[[
 wc.py(WC, WC.info(), WC.text_modified(), WC.prop_modified(),
 
---------------------------------------------------------------------
 
  | 
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.