--- a/src/com/vectrace/MercurialEclipse/team/ActionCommit.java Tue Feb 05 21:17:52 2008 +0100 +++ b/src/com/vectrace/MercurialEclipse/team/ActionCommit.java Wed Mar 12 20:40:07 2008 +0100 @@ -198,7 +198,7 @@ public class ActionCommit implements IWo try { repository = MercurialUtilities.ExecuteCommand(getRootCmd,getRootWorkingDir,true); - workingDir=new File(repository.substring(0,repository.length() - eol.length() )); + workingDir=new File(repository.trim()); } catch(HgException e) {