Richard Lowe <richlowe at richlowe.net> writes:

> Tom Haynes <Thomas.Haynes at Sun.COM> writes:
>
>> Tom Haynes wrote:
>>> Bob Mastors wrote:
>>>> hg recommit fails with this tag
>>>>
>>>> $ hg recommit
>>>> ** unknown exception encountered, details follow
>>>> ** report bug details to http://www.selenic.com/mercurial/bts
>>>> ** or mercurial at selenic.com
>>>> ** Mercurial Distributed SCM (version 1.0)
>>>> Traceback (most recent call last):
>>>>   File "/usr/bin/hg", line 20, in ?
>>>>     mercurial.dispatch.run()
>>>>   File "build/proto/lib/python/mercurial/dispatch.py", line 20, in run
>>>>   File "build/proto/lib/python/mercurial/dispatch.py", line 29, in
>>>> dispatch
>>>>   File "build/proto/lib/python/mercurial/dispatch.py", line 45, in
>>>> _runcatch
>>>>   File "build/proto/lib/python/mercurial/dispatch.py", line 364, in
>>>> _dispatch
>>>>   File "build/proto/lib/python/mercurial/dispatch.py", line 417, in
>>>> _runcommand
>>>>   File "build/proto/lib/python/mercurial/dispatch.py", line 373, in
>>>> checkargs
>>>>   File "build/proto/lib/python/mercurial/dispatch.py", line 356, in
>>>> <lambda>
>>>>   File "cdm.py", line 760, in cdm_recommit
>>>>   File "WorkSpace.py", line 399, in tags
>>>> ValueError: too many values to unpack
>>>>
>>>> Looks like WorkSpace.py does not want spaces in the tag name.
>>>>
>>
>> Which is fine, as long as the hg tag command will not allow spaces to
>> be entered...
>>
>
> Since it did, please file a bug (solaris/consolidation/os-net-tools).

I filed this as CR 6815637 "cadmium chokes on spaces in tag names"

(I couldn't find one already filed, if that's b.o.o lossage, please
close mine dup of the original)

There's a barely tested patch in the Workaround.  Your other option
would be to edit out the problem tag (using an editor, tag --remove
won't do what you want).

-- Rich

Reply via email to