)]}'
{"git_upstream/commands/drop.py":[{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"69373d28e2e6b7b660012b7bdc30393304ba7513","unresolved":false,"context_lines":[{"line_number":20,"context_line":"from git_upstream.lib.utils import GitMixin"},{"line_number":21,"context_line":"from git_upstream import subcommand, log"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"from git import BadName"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"import inspect"},{"line_number":26,"context_line":"import re"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a930d6b_c3255ec3","line":23,"updated":"2015-01-22 11:49:53.000000000","message":"Think we need to either:\n\n try:\n     from git import BadName\n except ImportError:\n     from git import BadObject as BadName\n\nOr look to catch the base error from gitdb ODBError.\n\nPotentially depending on what the commit is that is provided by the user it looks like either could be raised.\n\n from git import BadObject\n try:\n     from git import BadName\n except ImportError:\n     BadName \u003d BadObject\n\nThen where we catch the error:\n\n except (BadName, BadObject):\n     raise DropError\n\nThoughts?\n\nI\u0027d like to try and remain working with the older versions if possible as well, just makes it easier for users to downgrade if other problems are found with newer releases.","commit_id":"bc1c60b49d7a0bd3a5333c7412997ab6584a06f2"},{"author":{"_account_id":6554,"name":"Spencer Krum","email":"nibz@spencerkrum.com","username":"krum-spencer"},"change_message_id":"4a2474f0cc72865566834499df155b337536b3c3","unresolved":false,"context_lines":[{"line_number":20,"context_line":"from git_upstream.lib.utils import GitMixin"},{"line_number":21,"context_line":"from git_upstream import subcommand, log"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"from git import BadName"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"import inspect"},{"line_number":26,"context_line":"import re"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a930d6b_590bc47c","line":23,"in_reply_to":"1a930d6b_76716fdf","updated":"2015-01-26 00:05:12.000000000","message":"Current master with this in the requirements.txt passes fine:\nGitPython\u003e\u003d0.3.4,\u003c0.3.5","commit_id":"bc1c60b49d7a0bd3a5333c7412997ab6584a06f2"},{"author":{"_account_id":6554,"name":"Spencer Krum","email":"nibz@spencerkrum.com","username":"krum-spencer"},"change_message_id":"b844425be198a407d90bffe8d962ffcb16f08e10","unresolved":false,"context_lines":[{"line_number":20,"context_line":"from git_upstream.lib.utils import GitMixin"},{"line_number":21,"context_line":"from git_upstream import subcommand, log"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"from git import BadName"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"import inspect"},{"line_number":26,"context_line":"import re"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a930d6b_76716fdf","line":23,"in_reply_to":"1a930d6b_c3255ec3","updated":"2015-01-25 22:22:06.000000000","message":"I agree that maintaining backwards compat is a good goal. Maybe we should just pin GitPython more agressively?\n\nimport BadObject as BadName sounds bad to be honest. I do like that you\u0027ve made the logic future looking instead of old preserving though.","commit_id":"bc1c60b49d7a0bd3a5333c7412997ab6584a06f2"}],"git_upstream/commands/supersede.py":[{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"69373d28e2e6b7b660012b7bdc30393304ba7513","unresolved":false,"context_lines":[{"line_number":22,"context_line":"from git_upstream.lib.searchers import CommitMessageSearcher"},{"line_number":23,"context_line":"from git_upstream import subcommand, log"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"from git import BadName, Head"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"import inspect"},{"line_number":28,"context_line":"import re"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a930d6b_064cd46f","line":25,"updated":"2015-01-22 11:49:53.000000000","message":"See comments in on drop.py.","commit_id":"bc1c60b49d7a0bd3a5333c7412997ab6584a06f2"}]}
