There have been a number of problems recently that have resulted from
git errors during the update process.
@TrystanLea, can the update script be amended such that if the pulls from either the
emonpi repo, or the
emoncms repo fail, the update process aborts with a clear message to the user.
Sure , do you know of the best way to do this?
Testing the simple approach here (bash - Test to determine if git clone command succeeded - Stack Overflow) seems to work ok if I disable/enable internet while running git clone or git pull:
if ! git pull
Short answer - no!!
Seems like a reasonable approach.
If you edit a file so the merge cannot be done, does that fail as well? This is the most common scenario.