I can't figure out how i can set --svnsync to always on when i do "drush updatecode", either by the config file alone or how one would add the option to the code. I looked through the code for the existing option... --version? ... but didn't know here you'd put this option.

This usability issue is when you forget it, you can't do a subsequent call to" drush updatecode --svnsync" to get the --svnsync to kick in because there isn't any code to update anymore, so you have to revert, then redo it... maybe svn sync as it's own command (even for non-backups) would be sweet?

Comments

dman’s picture

I think you make your own file called ~/.drushrc.php

$options['package-handler'] = 'svn';

or inspect, copy and use the example one example.drushrc.php by following the instructions there.

Works great for me as I do everything via cvs and dl goes good.
Is that the question? Or is updatecode something else? I may be confused

owen barton’s picture

Status: Active » Fixed

Actually you want:

$options['svnsync'] = 1;

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.