view tests/test-parseindex2.py.out @ 14518:a67e866f46f9

workingctx: eliminate remove function Inlining it into it's last remaining call place in cmdutil.copy. Note that cmdutil.copy is called with the wlock already held, so no additional locking is needed to call util.unlinkpath. We do not need to wrap the util.unlinkpath call into a try block, because at that point we already know whether abssrc exists or not -- thanks to the preceding util.copyfile call. Adding a new local 'srcexists' in cmdutil.copy for that purpose.
author Adrian Buehlmann <adrian@cadifra.com>
date Thu, 02 Jun 2011 00:33:33 +0200
parents 75fdc39b6172
children
line wrap: on
line source

done