Repository
http://svn.collab.net/repos/svn/trunk
/trunk
by
C. Michael Pilato
(Using name ‘cmpilato’)
on
2009-11-05 20:32
(about 1 month ago)
Add some handy utility functions I've been feeling the absence of for
some time, and start making use of one of them.
* subversion/include/svn_ra.h,
* subversion/libsvn_ra/ra_loader.c
(svn_ra_get_path_relative_to_session, svn_ra_get_path_relative_to_root):
New functions.
* subversion/libsvn_client/client.h,
* subversion/libsvn_client/ra.c
(svn_client__path_relative_to_session): Removed as superfluous.
* subversion/libsvn_client/copy.c
(repos_to_wc_copy_single, repos_to_wc_copy): Use
svn_ra_get_path_relative_to_root() instead of
svn_client__path_relative_to_session().
* subversion/libsvn_client/util.c
(svn_client__path_relative_to_root): Leave a TODO comment.
| Language | Code Added | Code Removed | Comments Added | Comments Removed | Blanks Added | Blanks Removed | |
|---|---|---|---|---|---|---|---|
| C | 57 | 22 | 14 | 2 | 6 | 3 |
| File | Language | Code Added | Code Removed | Comments Added | Comments Removed | Blanks Added | Blanks Removed |
|---|---|---|---|---|---|---|---|
subversion/include/svn_ra.h
|
|||||||
| C | 10 | 0 | 13 | 0 | 2 | 0 | |
subversion/libsvn_client/client.h
|
|||||||
| C | 0 | 5 | 0 | 2 | 0 | 1 | |
subversion/libsvn_client/copy.c
|
|||||||
| C | 2 | 2 | 0 | 0 | 0 | 0 | |
subversion/libsvn_client/ra.c
|
|||||||
| C | 0 | 15 | 0 | 0 | 0 | 2 | |
subversion/libsvn_client/util.c
|
|||||||
| C | 0 | 0 | 1 | 0 | 1 | 0 | |
subversion/libsvn_ra/ra_loader.c
|
|||||||
| C | 45 | 0 | 0 | 0 | 3 | 0 | |