Revision: 447 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=447&view=rev Author: yurand Date: 2009-02-06 09:25:58 +0000 (Fri, 06 Feb 2009)
Log Message: ----------- GeanyVC: implemented revert dir/basedir for mercurial
Modified Paths: -------------- trunk/geanyvc/vc_hg.c
Modified: trunk/geanyvc/vc_hg.c =================================================================== --- trunk/geanyvc/vc_hg.c 2009-02-05 19:27:17 UTC (rev 446) +++ trunk/geanyvc/vc_hg.c 2009-02-06 09:25:58 UTC (rev 447) @@ -37,7 +37,7 @@ static const gchar *HG_CMD_DIFF_FILE[] = { "hg", "diff", ABS_FILENAME, NULL }; static const gchar *HG_CMD_DIFF_DIR[] = { "hg", "diff", ABS_DIRNAME, NULL }; static const gchar *HG_CMD_REVERT_FILE[] = { "hg", "revert", BASENAME, NULL }; -static const gchar *HG_CMD_REVERT_DIR[] = { "hg", NULL }; +static const gchar *HG_CMD_REVERT_DIR[] = { "hg", "revert", BASE_DIRNAME, NULL }; static const gchar *HG_CMD_STATUS[] = { "hg", "status", NULL }; static const gchar *HG_CMD_ADD[] = { "hg", "add", BASENAME, NULL }; static const gchar *HG_CMD_REMOVE[] = { "hg", "remove", BASENAME, NULL }; @@ -65,7 +65,7 @@ .env = NULL, .function = NULL}, { - .startdir = VC_COMMAND_STARTDIR_FILE, + .startdir = VC_COMMAND_STARTDIR_BASE, .command = HG_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.