If i am on erpnext-9 (no local changes). So my issue.py is ver 9. Now i upgrade to erpnext-10. And there were changes in issue.py, so its ver10 on the remote. How does the upgrade script know there is a change, does it use a git command, or timestamp, or some versioning. There may be a customer.py same in both ver9 and ver10, so no update of this file will be required.
ok. Since .py files doesnt have to do with db insert/update, just pulling the latest will do the job. Will be executed when required.
Thanks @rmehta and @netchampfaris