CachedRepo: do force checkout when updating working copy
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Wed, 17 Apr 2013 11:50:41 +0000 (14:50 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Wed, 17 Apr 2013 12:00:09 +0000 (15:00 +0300)
commit539422b0ea1b34f9ca39921bf4a67cdfb6b58d8c
tree67d24a0b8d2bfeb20bb9603855f5efa43b49baed
parent451f3dacf8bc2c909a1496860a93f88aa6bb0fad
CachedRepo: do force checkout when updating working copy

The index of cached repo may be out-of-sync with FETCH_HEAD. In this
case normal checkout fails.

Change-Id: Id2ec2a41bccde49bc4a2622d771517ab95ba7254
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
obs_service_gbp/__init__.py
tests/test_obs_service_gbp.py