git-upstream/git_upstream
Darragh Bailey 83669ee54b Add support and CLI option to search multiple refs for last import
When auto-detecting the most recent point in the history of the current
branch to be updated that came from upstream, need to support searching
more than the given upstream reference where the user is switching the
upstream branch being tracked.

Use a default of 'upstream/*' and add a CLI option to set a different
pattern to be searched in cases where the repository is not using the
same naming.

The CLI option '--search-refs' may be specified multiple times to
provide multiple ref patterns to be searched using simple globbing. The
default if none provided by the user is 'upstream/*'.

Change-Id: If890d1bee015d6b495a5caa60dd8f7783cf7c4e0
Closes-Bug: #1380652
2014-10-31 16:36:46 +00:00
..
commands Add support and CLI option to search multiple refs for last import 2014-10-31 16:36:46 +00:00
lib Add support and CLI option to search multiple refs for last import 2014-10-31 16:36:46 +00:00
tests Add support and CLI option to search multiple refs for last import 2014-10-31 16:36:46 +00:00
__init__.py Pick up versioning using pkg_resources or pbr 2014-10-10 17:14:27 +01:00
errors.py Rename hpgit to git-upstream, also changing its license 2014-03-03 14:32:26 +00:00
log.py Remove remaining HP references 2014-07-15 17:45:22 +01:00
main.py Separate out main to make testing easier 2014-10-23 16:32:38 +01:00
rebase_editor.py Standardize imports 2014-10-21 14:00:23 +01:00
subcommand.py Rename hpgit to git-upstream, also changing its license 2014-03-03 14:32:26 +00:00