git/GitBranchType.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 05 Feb 2013 15:24:24 +0100
changeset 219 475366f8ba6f
parent 31 d96d7eff6efc
child 481 0cfef855baa2
permissions -rw-r--r--
Bugfix: HGCommandParser>>parseCommandMerge: handle correctly clear merges.

"{ Package: 'stx:libscm/git' }"

SharedPool subclass:#GitBranchType
	instanceVariableNames:''
	classVariableNames:'BRANCH_LOCAL BRANCH_REMOTE'
	poolDictionaries:''
	category:'SCM-Git-Core-Internal-Constants'
!


!GitBranchType class methodsFor:'initialization'!

initialize

    BRANCH_LOCAL := 1.
    BRANCH_REMOTE := 2.
! !

!GitBranchType class methodsFor:'constants'!

BRANCH_LOCAL

    ^BRANCH_LOCAL
!

BRANCH_REMOTE

    ^BRANCH_REMOTE
! !

!GitBranchType class methodsFor:'documentation'!

version_GIT
    "Never, ever change this method. Ask JV or CG why"
    ^thisContext method mclass theNonMetaclass instVarNamed: #revision
!

version_SVN
    ^ '$Id::                                                                                                                        $'
! !

GitBranchType initialize!