Skip to content

Commit

Permalink
Add repo merge in update function
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinTalbert committed May 14, 2018
1 parent bc92245 commit 315b8b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pymdwizard/gui/MainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -1169,6 +1169,8 @@ def update_from_github(self):
fetch = [r for r in repo.remotes if r.name == 'usgs_root'][0].fetch()
master = [f for f in fetch if f.name == 'usgs_root/master'][0]

merge_msg = repo.git.merge(master.name)

msg = 'Updated Successfully from GitHub.'
QMessageBox.information(self, "Update results", msg)
except BaseException as e:
Expand Down

0 comments on commit 315b8b9

Please sign in to comment.