Download & Extend

allow setting --svnsync option to "always on" in drush config or svnsync as own command?

Project:Drush
Version:All-Versions-2.0
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

#1

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

<?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

#2

Status:active» fixed

Actually you want:

$options['svnsync'] = 1;

#3

Status:fixed» closed (fixed)

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