OK, the problem seems to be this bit of the output:
21:12:33 [I] Renaming 'A' to 'B'...
B does not exist!
21:12:33 [I] Committing u'[foo @ 3]'...
That message about "B does not exist!" is generated by the Mercurial
module and appears to mean something like "I'm going to fail to do what
you asked me to do and totally ignore it, but I won't, like, generate
an exception or anything because why would you ever want that?"
I get the same thing if I go in by hand:
>>> from mercurial import hg, ui
>>> uio = ui.ui(debug=True, verbose=True)
>>> r = hg.repository(ui=ui, path='/tmp/test', create=True)
>>> f = file('A', 'w')
>>> f.write('Test data.\n')
>>> f.close()
>>> r.add('A')
>>> r.commit(text='Adding A')
A
'M\xc5k\xe7QB\xf2W\x04\x85R\xf3\xdd\xdb\x9a;\xc1d/\xc1'
>>> r.copy('A', 'B')
B does not exist!
One can only imagine what the point is of having a "copy" command which
fails if the target does not exist.
Daniel
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]