Development / Production Recommended Workflow?
Simon Harrison
info at simonh.uk
Thu Aug 5 18:01:29 UTC 2021
On Thu, 5 Aug 2021 07:06:58 -0700
Stephen Rasku <mercurial at srasku.net> wrote:
> Could you use a production branch and a development branch? You would
> merge from develop to production and push to the public server. The
> different settings would only live on the production branch.
>
> If the two databases are not compatible you would have to run a
> migration script. I don’t have enough details to know if this is
> necessary, though.
>
Thanks for the suggestions. I think I'll stick with patches for the
moment and move to using branches when I'm feeling more confident.
One last thing: does anyone know how to prevent Mercurial from
including binary file diffs when running diff or export by default? I'm
using -X, but would prefer to have it set somewhere:
$ hg diff -r 178 -r tip -X '*.db' > tip.patch
Thanks
--
Web: https://simonh.uk
Email: mail at simonh.uk
More information about the Mercurial
mailing list