source: valtobtest/subversion-1.6.2/subversion/bindings/swig/python/svn/wc.py @ 3

Last change on this file since 3 was 3, checked in by valtob, 15 years ago

subversion source 1.6.2 as test

File size: 1.8 KB
Line 
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
19from libsvn.wc import *
20from svn.core import _unprefix_names
21_unprefix_names(locals(), 'svn_wc_')
22_unprefix_names(locals(), 'SVN_WC_')
23del _unprefix_names
24
25
26class 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
Note: See TracBrowser for help on using the repository browser.