1 | # |
---|
2 | # wc.py: public Python interface for wc components |
---|
3 | # |
---|
4 | # Subversion is a tool for revision control. |
---|
5 | # See http://subversion.tigris.org for more information. |
---|
6 | # |
---|
7 | ###################################################################### |
---|
8 | # |
---|
9 | # Copyright (c) 2000-2004 CollabNet. All rights reserved. |
---|
10 | # |
---|
11 | # This software is licensed as described in the file COPYING, which |
---|
12 | # you should have received as part of this distribution. The terms |
---|
13 | # are also available at http://subversion.tigris.org/license-1.html. |
---|
14 | # If newer versions of this license are posted there, you may use a |
---|
15 | # newer version instead, at your option. |
---|
16 | # |
---|
17 | ###################################################################### |
---|
18 | |
---|
19 | from libsvn.wc import * |
---|
20 | from svn.core import _unprefix_names |
---|
21 | _unprefix_names(locals(), 'svn_wc_') |
---|
22 | _unprefix_names(locals(), 'SVN_WC_') |
---|
23 | del _unprefix_names |
---|
24 | |
---|
25 | |
---|
26 | class DiffCallbacks2: |
---|
27 | def file_changed(self, adm_access, path, |
---|
28 | tmpfile1, tmpfile2, rev1, rev2, |
---|
29 | mimetype1, mimetype2, |
---|
30 | propchanges, originalprops): |
---|
31 | return (notify_state_unknown, notify_state_unknown) |
---|
32 | |
---|
33 | def file_added(self, adm_access, path, |
---|
34 | tmpfile1, tmpfile2, rev1, rev2, |
---|
35 | mimetype1, mimetype2, |
---|
36 | propchanges, originalprops): |
---|
37 | return (notify_state_unknown, notify_state_unknown) |
---|
38 | |
---|
39 | def file_deleted(self, adm_access, path, tmpfile1, tmpfile2, |
---|
40 | mimetype1, mimetype2, originalprops): |
---|
41 | return notify_state_unknown |
---|
42 | |
---|
43 | def dir_added(self, adm_access, path, rev): |
---|
44 | return notify_state_unknown |
---|
45 | |
---|
46 | def dir_deleted(self, adm_access, path): |
---|
47 | return notify_state_unknown |
---|
48 | |
---|
49 | def dir_props_changed(self, adm_access, path, |
---|
50 | propchanges, original_props): |
---|
51 | return notify_state_unknown |
---|