// ContainsPakbranch will tell the existence of a branch named refs/heads/pak
ContainsPakbranch will tell the existence of a branch named refs/heads/pak
// ContainsPakbranch will tell the existence of a branch named refs / heads / pak
func (this *HgPkg) ContainsPakbranch() (bool, error) {
	cmd, err := this.Hg("bookmarks")
	if err != nil {
		return false, err
	}
	return strings.Contains(cmd.Stdout.(*bytes.Buffer).String(), " "+this.PakbranchRef+" "), nil
}
func ( this * HgPkg ) ContainsPakbranch ( ) ( bool , error ) { cmd , err := this . Hg ( " " ) if err != nil { return false , err } return strings . Contains ( cmd . Stdout . ( * bytes . Buffer ) . String ( ) , " " + this . PakbranchRef + " " ) , nil }
ContainsPakbranch will tell the existence of a branch named refs/heads/pak
ContainsPakbranch will tell the existence of a branch named refs / heads / pak