This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 126839
Collapse All | Expand All

(-)a/mercurial/src/org/netbeans/modules/mercurial/util/HgCommand.java (-1 / +3 lines)
Lines 1615-1620 public class HgCommand { Link Here
1615
        command.add(HG_COMMIT_CMD);
1615
        command.add(HG_COMMIT_CMD);
1616
        command.add(HG_OPT_REPOSITORY);
1616
        command.add(HG_OPT_REPOSITORY);
1617
        command.add(repository.getAbsolutePath());
1617
        command.add(repository.getAbsolutePath());
1618
        command.add(HG_OPT_CWD_CMD);
1619
        command.add(repository.getAbsolutePath());
1618
1620
1619
        String projectUserName = new HgConfigFiles(repository).getUserName(false);
1621
        String projectUserName = new HgConfigFiles(repository).getUserName(false);
1620
        String globalUsername = HgConfigFiles.getInstance().getUserName();
1622
        String globalUsername = HgConfigFiles.getInstance().getUserName();
Lines 1647-1653 public class HgCommand { Link Here
1647
            command.add(tempfile.getAbsolutePath());
1649
            command.add(tempfile.getAbsolutePath());
1648
1650
1649
            for(File f: commitFiles){
1651
            for(File f: commitFiles){
1650
                command.add(f.getAbsolutePath());
1652
                command.add(f.getAbsolutePath().substring(repository.getAbsolutePath().length()+1));            
1651
            }
1653
            }
1652
            List<String> list = exec(command);
1654
            List<String> list = exec(command);
1653
            
1655
            

Return to bug 126839