#include <hallo.h>
* Eddy Petrișor [Tue, Mar 13 2007, 02:54:56PM]:

> > I don't see it as feature. There is explicite code to skip '?' state
> > files when copying around. I need to have a look on it but not before
> > friday.
> 
> Am I missing something or maybe a "svn export" from the current
> directory to the build one instead of the copy would be better? This
> way everything that is non-? in the repo (including added files or
> already commited ones).
> 
> I am not sure, but I think this was done initially like this, but it
> has been changed to simple copy, or? If so, why?

Copying of unversioned files was never planned that way. The basic idea
is:

 - copy using hardlinks by default: "cp -a" style but only applied to
   registered files, i.e. 
   - svn-bp makes a list of contents
   - checks for unregistered files
   - if there are some, complains and bails-out unless --svn-ignore-new is 
specified.
   - creates the build dir and the directory hierarchy
   - does link() on all files
 - if impossible to hardlink (naturally on separated filesystems, or
   when forbidden by an option), use File::Copy() or so, following the
   same algorithm
 - if everything fails, no matter why, try copying with "svn export"

 - in merge mode, also copy debian dir with simple "svn export" for the sake
   of code simplicity

If something changed in the meantime deviating from this behaviour, then
it should be fixed. If you like different behavior, introduce some
option IMO.

Eduard.

-- 
Die durchschnittliche Internetseite ist etwa 46 Tage gültig.
                -- Kommunikationswissenschaftlerlin Miriam Meckel

Reply via email to