[Bug 4821] New: commit --exclude throw exception

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Wed Sep 9 09:58:22 UTC 2015


http://bz.selenic.com/show_bug.cgi?id=4821

          Priority: normal
            Bug ID: 4821
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: commit --exclude throw exception
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: paolo.oranges at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 3.5
         Component: Mercurial
           Product: Mercurial

Hello, 

I'm using TortoiseHG with hg 3.5. On creating a new branch the command doesn't
work returning this error:

% hg commit --verbose "--message=+ open" --user "Paolo Oranges
<paolo.oranges at mydomain.com>" --exclude "E:\SourceCode\MyProject_path" --
** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.9 (default, Dec 10 2014, 12:28:03) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 3.5+5)
** Extensions loaded: strip, mq, rebase, largefiles,
tortoisehg.util.hgcommands, tortoisehg.util.partialcommit,
tortoisehg.util.pipeui, tortoisehg.util.win32ill, tortoisehg.util.hgdispatch
Traceback (most recent call last):
  File "hg", line 49, in <module>
  File "mercurial\dispatch.pyo", line 30, in run
  File "mercurial\dispatch.pyo", line 92, in dispatch
  File "mercurial\dispatch.pyo", line 163, in _runcatch
  File "mercurial\dispatch.pyo", line 895, in _dispatch
  File "mercurial\dispatch.pyo", line 656, in runcommand
  File "mercurial\dispatch.pyo", line 1013, in _runcommand
  File "mercurial\dispatch.pyo", line 982, in checkargs
  File "mercurial\dispatch.pyo", line 892, in <lambda>
  File "mercurial\util.pyo", line 792, in check
  File "mercurial\extensions.pyo", line 171, in closure
  File "mercurial\util.pyo", line 792, in check
  File "hgext\mq.pyo", line 3515, in mqcommand
  File "mercurial\util.pyo", line 792, in check
  File "mercurial\commands.pyo", line 5717, in serve
  File "mercurial\cmdutil.pyo", line 832, in service
  File "mercurial\commandserver.pyo", line 290, in run
  File "mercurial\commandserver.pyo", line 243, in serve
  File "mercurial\commandserver.pyo", line 221, in serveone
  File "mercurial\commandserver.pyo", line 204, in runcommand
  File "mercurial\dispatch.pyo", line 92, in dispatch
  File "mercurial\dispatch.pyo", line 163, in _runcatch
  File "mercurial\extensions.pyo", line 171, in closure
  File "tortoisehg\util\hgdispatch.pyo", line 23, in _dispatch
  File "mercurial\dispatch.pyo", line 895, in _dispatch
  File "mercurial\dispatch.pyo", line 656, in runcommand
  File "mercurial\dispatch.pyo", line 1013, in _runcommand
  File "mercurial\dispatch.pyo", line 982, in checkargs
  File "mercurial\dispatch.pyo", line 892, in <lambda>
  File "mercurial\util.pyo", line 792, in check
  File "mercurial\extensions.pyo", line 171, in closure
  File "mercurial\util.pyo", line 792, in check
  File "hgext\mq.pyo", line 3515, in mqcommand
  File "mercurial\util.pyo", line 792, in check
  File "mercurial\extensions.pyo", line 171, in closure
  File "mercurial\util.pyo", line 792, in check
  File "tortoisehg\util\partialcommit.pyo", line 34, in partialcommit
  File "mercurial\util.pyo", line 792, in check
  File "mercurial\commands.pyo", line 1556, in commit
  File "mercurial\cmdutil.pyo", line 2464, in commit
  File "mercurial\commands.pyo", line 1550, in commitfunc
  File "hgext\largefiles\reposetup.pyo", line 269, in commit
  File "hgext\largefiles\lfutil.pyo", line 523, in updatestandinsbymatch
  File "mercurial\dirstate.pyo", line 886, in walk
  File "hgext\largefiles\lfutil.pyo", line 265, in composedmatchfn
  File "mercurial\match.pyo", line 137, in <lambda>
TypeError: expected string or buffer
cmdserver: process exited unexpectedly with code 255


I tried the same command on command line, without using Tortoise and I have the
same error

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list