From: Han-Wen Nienhuys Date: Tue, 12 Jun 2007 01:19:05 GMT Subject: Re: Asking again... [Re: how to properly import perforce history?] Message-ID: <466DF489.7010700@xs4all.nl> In-Reply-To: <200706112346.13628.simon@lst.de> Simon Hausmann escreveu: >> system("p4 revert %s" % f) >> system("p4 delete %s" % f) > > Ooops, indeed. Makes me realizes that I've never actually submitted files with > spaces in the name :). For now I've quoted them with double quotes like in > the other places, which is better than nothing. Thanks for spotting! >>> import commands >>> commands.mkarg ('$foo bar') " '$foo bar'" -- Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen