[Nut-upsdev] I've solved the detached-branch problem [fossil map]

Charles Lepple clepple at gmail.com
Tue Jan 3 14:12:39 UTC 2012

On Jan 3, 2012, at 12:31 AM, Eric S. Raymond wrote:

>> (Is there a file with mappings between SVN revisions, Git hashes, and
>> reposurgeon commit IDs? I think that would be very useful, especially
>> when referring to revision info from old emails.)
> You camn make one with "fossils write" adfter loading NUT svn..

I was able to get it to go to stdout, but I think there might have been some code cut-n-pasted from the authormap routines:

Traceback (most recent call last):
  File "/Users/clepple/Projects/nut/nut-conv.build/nut-conversion/reposurgeon", line 5643, in <module>
    cmd.Cmd.onecmd(interpreter, interpreter.precmd(arg))
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cmd.py", line 219, in onecmd
    return func(arg)
  File "/Users/clepple/Projects/nut/nut-conv.build/nut-conversion/reposurgeon", line 4365, in do_script
  File "/Users/clepple/Projects/nut/nut-conv.build/nut-conversion/reposurgeon", line 3838, in onecmd
    cmd.Cmd.onecmd(self, line)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cmd.py", line 219, in onecmd
    return func(arg)
  File "/Users/clepple/Projects/nut/nut-conv.build/nut-conversion/reposurgeon", line 5413, in do_fossils
    self.chosen().write_fossilmap(self.selection, wfp)            
TypeError: write_fossilmap() takes exactly 2 arguments (3 given)

My naive guess is that one of self.chosen() or self.selection is redundant. (This is with reposurgeon 2.0-pre4)

Charles Lepple
clepple at gmail

More information about the Nut-upsdev mailing list