# HG changeset patch # User Jari Korhonen # Date 1277412081 -10800 # Node ID 9a89dedf260a7898a4b0d5c2c3754c5b51a72834 # Parent 94bbc4b30b2af22e45b0cda1826e0fa9d18e1001 A couple of more fixes to "weird filenames" bug. diff -r 94bbc4b30b2a -r 9a89dedf260a common.h --- 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 #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" diff -r 94bbc4b30b2a -r 9a89dedf260a mainwindow.cpp --- 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 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 selList = hgExp -> workFolderFileList -> selectedItems(); for (int i = 0; i < selList.size(); ++i)