public
Rubygem
Description: Simple tool to help track git and svn vendor branches in a git repository
Homepage: http://evil.che.lu/projects/braid
Clone URL: git://github.com/evilchelu/braid.git
Search Repo:
evilchelu (author)
Wed May 07 03:36:19 -0700 2008
commit  367c3ec43109e105d7e2178e5693bd3ccc8f6a15
tree    2cf9aa2836f1185ad8ce051cb25a929cf44bdaea
parent  126eec929f306cdd67ccc19a49316ce3a378c4bc
braid / lib / braid / exceptions.rb
100644 34 lines (29 sloc) 1.097 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
module Braid
  class Exception < StandardError
  end
 
  module Commands
    class ShellExecutionError < Braid::Exception; end
    class LocalRevisionIsHigherThanRequestedRevision < Braid::Exception; end
    class MirrorAlreadyUpToDate < Braid::Exception; end
    class RequestedRevisionIsHigherThanRemoteRevision < Braid::Exception; end
  end
 
  class Config
    class UnknownMirrorType < Braid::Exception; end
    class MirrorNameAlreadyInUse < Braid::Exception; end
    class MirrorDoesNotExist < Braid::Exception; end
    class CannotGuessMirrorType < Braid::Exception; end
 
    class RemoteIsRequired < Braid::Exception; end
    class MirrorTypeIsRequired < Braid::Exception; end
    class BranchIsRequired < Braid::Exception; end
    class MirrorNameIsRequired < Braid::Exception; end
  end
 
  class Git
    class UnknownRevision < Braid::Exception; end
    class GitVersionTooLow < Braid::Exception; end
    class GitSvnVersionTooLow < Braid::Exception; end
    class LocalChangesPresent < Braid::Exception; end
  end
 
  class Svn
    class UnknownRevision < Braid::Exception; end
  end
end