Closed (duplicate)
Project:
Drush
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Sep 2008 at 13:22 UTC
Updated:
5 Dec 2009 at 12:31 UTC
Jump to comment: Most recent file
Comments
Comment #1
miiimoooThis would be a patch that does what I described above. I'm not sure whether it breaks drush in other situations:
Comment #2
clemens.tolboom+1 for the above 'patch'.
The backup should reside in the parent directory of the project to be updated. Problem will be if one follows a directory scheme with subdirectories say 'sites/example.com/modules/views-modules/views/' then this 'patch' fails. (EDIT) This directory should be writeable in the first place ... the module is about to be replaced right? (end EDIT)
@miiimooo: please attach a patch and describe a test scenario (or a ref to a blog post :-)
Comment #3
miiimoooHere you go :
fixes #305489: drush and multi-site and update/backup (and maybe #298048: drush update fails with "failed to backup project directory ... to ..."). I'm throwing in the drupal 5 patch. It's practically identical.
Comment #4
fen commentedAny update on this? I tried the patch in comment #3 and still it seems to fail in the rename. I'm using --svnsync and am multisite. The first rename is the problem, but the second rename (that fails because of the first rename) has the correct paths. Here's an output listing:
Comment #5
nschloe commentedHi,
any news on this one? I'm having the same issue here, except that -- to add some weirdness --, the global backup folder is actually writable for all users.
Hence, this
is no problem at all, while
drushstill fails withCheers,
Nico
Comment #6
nschloe commentedComment #7
xurizaemon(Removed - wrong thread, sorry. The thread I should have posted in was #249943: E: Unable to download ....)
Comment #8
xurizaemonRestoring initial values.
Comment #9
moshe weitzman commentedwe need to make this directory copy a pluggable version control backend. that work is happenning elsewhere.