diff options
Diffstat (limited to 'morphlib/gitdir.py')
-rw-r--r-- | morphlib/gitdir.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/morphlib/gitdir.py b/morphlib/gitdir.py index 24dd9ed7..e2ea5f4d 100644 --- a/morphlib/gitdir.py +++ b/morphlib/gitdir.py @@ -143,6 +143,14 @@ class PushFailureError(PushError): 'stderr: %(stderr)s' % locals()) +class CheckoutError(cliapp.AppException): + + def __init__(self, repo, ref, target_dir): # pragma: no cover + cliapp.AppException.__init__( + self, + 'Failed to check out ref %s in %s' % (ref, target_dir)) + + class Config(object): '''Class representing Git repo configuration. |