SF.net SVN: geany-plugins:[446] trunk/geanyvc/vc_cvs.c

yurand at users.sourceforge.net yurand at xxxxx
Thu Feb 5 19:27:18 UTC 2009


Revision: 446
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=446&view=rev
Author:   yurand
Date:     2009-02-05 19:27:17 +0000 (Thu, 05 Feb 2009)

Log Message:
-----------
GeanyVC: implemented revert dir/basedir for CVS

Modified Paths:
--------------
    trunk/geanyvc/vc_cvs.c

Modified: trunk/geanyvc/vc_cvs.c
===================================================================
--- trunk/geanyvc/vc_cvs.c	2009-02-05 19:14:15 UTC (rev 445)
+++ trunk/geanyvc/vc_cvs.c	2009-02-05 19:27:17 UTC (rev 446)
@@ -34,7 +34,7 @@
 static const gchar *CVS_CMD_DIFF_FILE[] = { "cvs", "diff", "-u", BASE_FILENAME, NULL };
 static const gchar *CVS_CMD_DIFF_DIR[] = { "cvs", "diff", "-u", NULL };
 static const gchar *CVS_CMD_REVERT_FILE[] = { "cvs", "update", "-C", BASE_FILENAME, NULL };
-static const gchar *CVS_CMD_REVERT_DIR[] = { "cvs", NULL };
+static const gchar *CVS_CMD_REVERT_DIR[] = { "cvs", "update", "-C", BASE_DIRNAME, NULL };
 static const gchar *CVS_CMD_STATUS[] = { "cvs", "status", NULL };
 static const gchar *CVS_CMD_ADD[] = { "cvs", "add", BASE_FILENAME, NULL };
 static const gchar *CVS_CMD_REMOVE[] = { "cvs", "remove", BASE_FILENAME, NULL };
@@ -62,7 +62,7 @@
 	 .env = NULL,
 	 .function = NULL},
 	{
-	 .startdir = VC_COMMAND_STARTDIR_FILE,
+	 .startdir = VC_COMMAND_STARTDIR_BASE,
 	 .command = CVS_CMD_REVERT_DIR,
 	 .env = NULL,
 	 .function = NULL},


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Plugins-Commits mailing list