Simon Ruggier f9b7683a3b Include project path in --force-sync error message
For projects that have been cloned outside of the repo command (or
cloned a long time ago), commit abaa7f312f1b6c8d11d7c757fe909900ce5788b5
introduced an error message to invite the user to use --force-sync.
However, due to the risk of data loss, it's useful to know which
project's git directory is being replaced before deciding whether or not
to provide --force-sync.

This change updates the exception's associated value to include the
project's relative path and explain to the user how they can resolve the
issue. A previous version of this commit used the project name. However,
for projects that have multiple work trees, the name can be ambiguous,
while the path clearly identifies which git directory will be replaced.

Change-Id: If717e66fda4d19accc0a8e889a91f4cd4ff14dff
2015-08-04 18:41:20 -04:00
2012-11-14 11:38:57 +09:00
2013-03-08 01:18:08 +00:00
2015-03-28 21:12:27 +00:00
2008-10-21 07:00:00 -07:00
2015-06-04 00:21:16 +00:00
2015-06-04 00:22:23 +00:00
2013-11-21 06:03:22 +00:00
2011-09-19 14:52:57 -07:00
2014-01-30 15:17:09 -08:00
Description
No description provided
Apache-2.0 36 MiB
Languages
Python 99.1%
Shell 0.9%