ansible/source_control
Robin Roth 2256ae0793 fix git switch branches in combination with depth on old git versions (#3492)
* fix git switch branches in combination with depth

* the old implementation is correct, but relies on git working correctly
  (as only newer versions do)
* with some older git version (e.g. 1.8.3), git fetch remote branch does
  not work, if the branch does not yet exist locally
* this patch works around that without explicitly checking the git version
* future refactoring is needed to reduce the number of fetches to a
  minimum; but this patch makes the code "correct"

* add git version requirements to doc

* replace set-branches with git 1.7.1 compatible version
2016-04-21 07:40:54 -07:00
..
__init__.py package files 2014-09-26 11:05:47 -04:00
git.py fix git switch branches in combination with depth on old git versions (#3492) 2016-04-21 07:40:54 -07:00
hg.py hg: discard changes without changing the current revision 2015-11-23 14:35:06 -05:00
subversion.py Missing documentation fix (#2516) 2016-04-12 22:12:30 +02:00