On 27/07/07, Joey Hess <[EMAIL PROTECTED]> wrote: > Here's a patch for this. The problem was that branches/upstream already > exists in the repo, so importing that directory won't work. Instead, it > has to import branches/upstream/<package>. > > I also chose to make it svn mkdir branches/upstream, in case it didn't > exist yet. Only problem with that is there are some ugly messages if it > does exist. This could be improved by only creating the directories if > they don't already exist. > > Anyhow, patch works, and attached.
Thanks for the patch. I have worked a little during the vacation on bugs 411666 and 419996 and produced a patch which conflicts with yours and I feel that we both felt that directory creation needs to be done in saner way anyway (or on a need to do basis). You can see the changes online: http://svn.debian.org/wsvn/collab-maint?op=comp&[EMAIL PROTECTED]&[EMAIL PROTECTED] So I think I'll make a function that handles svn directory creation to be sure weird bugs like 411666, 419996 and 433536 don't appear anytime soon. As Gonéri told me some time ago, svn-buildpackage itself is ok, but all other scripts need some love. (Of course, patches are welcome and I'll work on merging your patch). -- Regards, EddyP ============================================= "Imagination is more important than knowledge" A.Einstein