>>>>> Daniel Burrows writes:

    Daniel>   OK, the problem seems to be this bit of the output:
    Daniel> 21:12:33 [I] Renaming 'A' to 'B'...  B does not exist!
    Daniel> 21:12:33 [I] Committing u'[foo @ 3]'...

    Daniel>   That message about "B does not exist!" is generated by
    Daniel> the Mercurial module and appears to mean something like
    Daniel> "I'm going to fail to do what you asked me to do and
    Daniel> totally ignore it, but I won't, like, generate an
    Daniel> exception or anything because why would you ever want
    Daniel> that?"

    Daniel>   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')
    Daniel> A 'M\xc5k\xe7QB\xf2W\x04\x85R\xf3\xdd\xdb\x9a;\xc1d/\xc1'

    >>>> r.copy('A', 'B')
    Daniel> B does not exist!


    Daniel>   One can only imagine what the point is of having a
    Daniel> "copy" command which fails if the target does not exist.

Hi Daniel,

most probably, under hg is not possible to add and rename and entry in
the same changeset. I actually think this is a strange thing (only?)
darcs allows, and that when the target does not handle it, the tailor
backend should collapse the two actions into a single "add b".

Thanks for reporting and testing!

ciao, lele.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to