Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > subclipse commit: rev 78 - trunk/svnClientAdapter/src/main/org/tigris/subversion/svnclientadapter

subclipse
Discussion topic

Back to topic list

subclipse commit: rev 78 - trunk/svnClientAdapter/src/main/org/tigris/subversion/svnclientadapter

Author cchab
Full name chabanois cédric
Date 2003-07-22 13:29:50 PDT
Message Author: cchab
Date: Tue Jul 22 15:29:49 2003
New Revision: 78

Modified:
   trunk/svnClientAdapt​er/src/main/org/tigr​is/subversion/svncli​entadapter/SVNClient​Adapter.java
Log:
force parameter added to SVNClientAdapter.move

Modified: trunk/svnClientAdapt​er/src/main/org/tigr​is/subversion/svncli​entadapter/SVNClient​Adapter.java
====================​====================​====================​==================
--- trunk/svnClientAdapt​er/src/main/org/tigr​is/subversion/svncli​entadapter/SVNClient​Adapter.java (original)
+++ trunk/svnClientAdapt​er/src/main/org/tigr​is/subversion/svncli​entadapter/SVNClient​Adapter.java Tue Jul 22 15:29:49 2003
@@ -651,14 +651,15 @@
      * @param destPath
      * @throws ClientException
      */
- public void move(File srcPath, File destPath) throws ClientException {
+ public void move(File srcPath, File destPath, boolean force) throws ClientException {
+ // use force when you want to move file even if there are local modifications
         try {
             notificationHandler.​setCommand(ISVNNotif​yListener.COMMAND_MO​VE);
             String src = fileToSVNPath(srcPath);
             String dest = fileToSVNPath(destPath);
             notificationHandler.​setCommandLine(
                     "move "+src+' '+dest);
- svnClient.move(src,d​est,"",Revision.HEAD​,false);
+ svnClient.move(src,d​est,"",Revision.HEAD​,force);
         } catch (ClientException e) {
             notificationHandler.​setException(e);
             throw e;

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: cvs-unsubscribe@subc​lipse.tigris.org
For additional commands, e-mail: cvs-help at subclipse dot tigris dot org

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

subclipse commit: rev 78 - trunk/svnClientAdapter/src/main/org/tigris/subversion/svnclientadapter cchab chabanois cédric 2003-07-22 13:29:50 PDT
Messages per page: