The old script had the functionality that it would create patches if you have local uncommitted changes or unpushed commits. This seems to be missing in the Python script.