Mercurial > hgsubversion
comparison svnwrap/svn_ctypes_wrapper.py @ 181:e37f9d3fd5e7
remove decorators (compat with python2.3)
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Tue, 13 Jan 2009 13:59:50 +0100 |
parents | f2636cfed115 |
children |
comparison
equal
deleted
inserted
replaced
180:3f1e8a5ec9dd | 181:e37f9d3fd5e7 |
---|---|
37 | 37 |
38 def init_ra_and_client(self): | 38 def init_ra_and_client(self): |
39 # TODO(augie) need to figure out a way to do auth | 39 # TODO(augie) need to figure out a way to do auth |
40 self.repo = repos.RemoteRepository(self.svn_url) | 40 self.repo = repos.RemoteRepository(self.svn_url) |
41 | 41 |
42 @property | |
43 def HEAD(self): | 42 def HEAD(self): |
44 raise NotImplementedError | 43 raise NotImplementedError |
44 HEAD = property(HEAD) | |
45 | 45 |
46 @property | |
47 def START(self): | 46 def START(self): |
48 return 0 | 47 return 0 |
48 START = property(START) | |
49 | 49 |
50 @property | |
51 def branches(self): | 50 def branches(self): |
52 """Get the branches defined in this repo assuming a standard layout. | 51 """Get the branches defined in this repo assuming a standard layout. |
53 """ | 52 """ |
54 raise NotImplementedError | 53 raise NotImplementedError |
54 branches = property(branches) | |
55 | 55 |
56 @property | |
57 def tags(self): | 56 def tags(self): |
58 """Get the current tags in this repo assuming a standard layout. | 57 """Get the current tags in this repo assuming a standard layout. |
59 | 58 |
60 This returns a dictionary of tag: (source path, source rev) | 59 This returns a dictionary of tag: (source path, source rev) |
61 """ | 60 """ |
62 raise NotImplementedError | 61 raise NotImplementedError |
62 tags = property(tags) | |
63 | 63 |
64 def _get_copy_source(self, path, cached_head=None): | 64 def _get_copy_source(self, path, cached_head=None): |
65 """Get copy revision for the given path, assuming it was meant to be | 65 """Get copy revision for the given path, assuming it was meant to be |
66 a copy of the entire tree. | 66 a copy of the entire tree. |
67 """ | 67 """ |