On 13/03/2016 2:46 PM, Eduardo Rivas wrote:

Are you deploying with git, hg, or rsync? If you have committed removals, they should be applied on production if using one of the VCS methods.


Turns out I'm using rsync. I'm looking into the --delete option, which might do the trick for me. I'm modifying my fabfile to suit, and adding a "diff" task which essentially runs rsync with --delete and -n (dry-run) to show me the diffs between the local and remote repositories.

In any case, it's a little trick - I can kind of understand why the default rsync options don't include --delete (after all, you'd have to be careful to not delete stuff on the production server which you may need) but I can't believe it tripped me up. I guess seeing a difference between my dev and production behaviour should have been a tipoff...

Seeya. Danny.

--
You received this message because you are subscribed to the Google Groups "Mezzanine 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to