Kouhei Sutou
kous****@users*****
2006年 12月 7日 (木) 14:12:30 JST
Index: tomoe/module/dict/tomoe-dict-svn.c diff -u tomoe/module/dict/tomoe-dict-svn.c:1.3 tomoe/module/dict/tomoe-dict-svn.c:1.4 --- tomoe/module/dict/tomoe-dict-svn.c:1.3 Thu Dec 7 14:08:30 2006 +++ tomoe/module/dict/tomoe-dict-svn.c Thu Dec 7 14:12:30 2006 @@ -17,7 +17,7 @@ * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, MA 02111-1307 USA * - * $Id: tomoe-dict-svn.c,v 1.3 2006/12/07 05:08:30 kous Exp $ + * $Id: tomoe-dict-svn.c,v 1.4 2006/12/07 05:12:30 kous Exp $ */ #include <glib.h> @@ -280,7 +280,9 @@ dict = TOMOE_DICT_SVN (object); - /* tomoe_dict_svn_commit (dict); */ + if (dict->working_copy && + g_file_test (dict->working_copy, G_FILE_TEST_EXISTS)) + flush (TOMOE_DICT (object)); if (dict->working_copy) g_free (dict->working_copy);