[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Move multiple files, step 1, version 1

From: Hyrum K. Wright <hyrum_wright_at_byu.edu>
Date: 2005-11-16 15:59:34 CET

This patch comprises the first step in moving multiple files, namely
revving the client library API, and modifying the client application to
call this new function. More patches are on their way, but I figure it
is better to submit small changes at a time in separate patches.

-Hyrum

[[[
Rev svn_client_move3 to allow it to take multiple source paths. Modify
the client application to call the new version.

Note: The command line application still does argument count checking,
so at this point there should not be more than one path in the src_paths
array.

* subversion/include/svn_client.h
  (svn_client_move4): Rev API to accept an array of source paths instead
    of just one. Adjust comments appropriately.

* subversion/libsvn_client/copy.c
  (svn_client_move4): New function.
  (svn_client_move3): Instead of setting up the move directly, call
    svn_client_move4.

* subversion/clients/cmdline/move-cmd.c
  (svn_cl__move): Build an array of the source paths. Call the new API.
]]]

Received on Wed Nov 16 16:01:33 2005

This is an archived mail posted to the Subversion Dev mailing list.