changeset 42:9a89dedf260a

A couple of more fixes to "weird filenames" bug.
author Jari Korhonen <jtkorhonen@gmail.com>
date Thu, 24 Jun 2010 23:41:21 +0300
parents 94bbc4b30b2a
children c32067cd19f8
files common.h mainwindow.cpp
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/common.h	Thu Jun 24 11:38:50 2010 +0200
+++ b/common.h	Thu Jun 24 23:41:21 2010 +0300
@@ -8,7 +8,7 @@
 #include <QtCore>
 
 #define APPNAME                         "HgExplorer"
-#define APPVERSION                      "0.7.1"
+#define APPVERSION                      "0.7.2"
 #define MY_ICON_SIZE                    32
 #define REPOMENU_TITLE                  "Repository actions"
 #define WORKFOLDERMENU_TITLE            "Workfolder actions"
--- a/mainwindow.cpp	Thu Jun 24 11:38:50 2010 +0200
+++ b/mainwindow.cpp	Thu Jun 24 23:41:21 2010 +0300
@@ -224,7 +224,7 @@
         if (areAllSelectedUntracked(hgExp -> workFolderFileList))
         {
             //User wants to add selected file(s)
-            params << "add";
+            params << "add" << "--";
 
             QList <QListWidgetItem *> selList = hgExp -> workFolderFileList -> selectedItems();
 
@@ -294,7 +294,7 @@
                 if ((justMerged == false) && (areAllSelectedCommitable(hgExp -> workFolderFileList)))
                 {
                     //User wants to commit selected file(s) (and this is not merge commit, which would fail if we selected files)
-                    params << "commit" << "--message" << comment << "--user" << userInfo;
+                    params << "commit" << "--message" << comment << "--user" << userInfo << "--";
 
                     QList <QListWidgetItem *> selList = hgExp -> workFolderFileList -> selectedItems();
                     for (int i = 0; i < selList.size(); ++i)