http://bugs.grommit.com/show_bug.cgi?id=510
Summary: "hg copyright foo" blows up Product: SCM Migration Version: unspecified Platform: SPARC (32bit+64bit) OS/Version: Solaris 11/Nevada Status: NEW Severity: normal Priority: P3 Component: cdm AssignedTo: scm-migration-dev at opensolaris.org ReportedBy: mike.kupfer at sun.com If I specify a file with "hg copyright", I get a traceback: athyra$ hg copyright usr/src/uts/common/os/logsubr.c Copyright check: ** unknown exception encountered, details follow ** report bug details to http://www.selenic.com/mercurial/bts ** or mercurial at selenic.com ** Mercurial Distributed SCM (version 0.9.5) Traceback (most recent call last): File "/bin/hg", line 14, 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 348, in _dispatch File "build/proto/lib/python/mercurial/dispatch.py", line 401, in _runcommand File "build/proto/lib/python/mercurial/dispatch.py", line 357, in checkargs File "build/proto/lib/python/mercurial/dispatch.py", line 340, in <lambda> File "/home/kupfer/src/onnv-scm/usr/src/tools/onbld/hgext/cdm.py", line 259, in cdm_copyright if entry.is_removed(): AttributeError: 'str' object has no attribute 'is_removed' This is with revision 1417618c315d of onnv-scm. Neither wx or Cadmium document "copyright" as allowing a file name, but with wx it works to specify a file. (I suspect this is true for most, if not all, of the check subcommands.) Cadmium should let the user specify individual files, too. -- Configure bugmail: http://bugs.grommit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.