Files @ 440fab755fa9
Branch filter:

Location: kallithea/rhodecode/lib/vcs/backends/git/__init__.py

Dennis Brakhane
switch to branch: handle slashes in branch names

In git, having slashes in branch names are not uncommon.

We cannot use a branch name with slashes in the url, so in that case, we
use the changeset id instead like we already do for tags and bookmarks.

Fixes #654
1
2
3
4
5
6
7
8
9
from .repository import GitRepository
from .changeset import GitChangeset
from .inmemory import GitInMemoryChangeset
from .workdir import GitWorkdir


__all__ = [
    'GitRepository', 'GitChangeset', 'GitInMemoryChangeset', 'GitWorkdir',
]