On Tue, Mar 04, 2008 at 07:26:58AM +0100, Patrick Schoenfeld wrote:
> So what do you expect debcheckout to do? Checkout the working copy (at
> least partially) and then leave you with the file you requested? Thats a
> way this could work, because we need to workaround the fact that the
> different VCSes do not understand single file checkout.

My suggestion for implementing this would be:

- try to have a consistent API cross-VCS (after all this is what
  debcheckout is about)
- IF the given VCS has support for single file checkout (e.g. svn)
  checkout the single file
- ELSE checkout in a `mktemp -d` and copy the file in the expected
  directory

Cheers.

-- 
Stefano Zacchiroli -*- PhD in Computer Science ............... now what?
[EMAIL PROTECTED],cs.unibo.it,debian.org}  -<%>-  http://upsilon.cc/zack/
(15:56:48)  Zack: e la demo dema ?    /\    All one has to do is hit the
(15:57:15)  Bac: no, la demo scema    \/    right keys at the right time

Attachment: signature.asc
Description: Digital signature

Reply via email to