Re: [StGit PATCH 4/9] Convert 'clone' to the use stgit.lib
- From
- Catalin Marinas <catalin.marinas@gmail.com>
- Date
- May 13, 2009, 16:10 UTC
- Message-ID
- <b0943d9e0905130910w35a5382ai3d89751d7d8b0c48@mail.gmail.com>
- In-Reply-To
- <20090429062101.GD18483@diana.vm.bytemark.co.uk>
2009/4/29 Karl Hasselström <kha@treskal.com>:
Show 8 quoted lines
> On 2009-04-28 16:09:57 +0100, Catalin Marinas wrote:
>> +def clone(remote, local):
>> + """Clone a remote repository using 'git clone'."""
>> + run.Run('git', 'clone', remote, local).run()
>
> You don't capture git's output here, but just let it through. Does
> that look good in combination with the enclosing out.start() ...
> .done() stuff?I actually dropped the out.*() entirely as git already prints enough information.
-- Catalin