gitmerge package

Submodules

gitmerge.cout module

gitmerge.dirchecker module

class gitmerge.dirchecker.DirectoryChecker(_dir='.')[source]

Bases: object

Handles all tasks related to other files or directories.

git_subdirs(relpath=True)[source]

Checks all subdirectories of _dir whether there is a .git folder and returns them as a list. :param relpath: Specify return type as list of absolute or relative paths.

repo_exists(repo, dir_name)[source]

Checks whether a src repo already exists from past imports in the dest repo as directory :param path: Path of the src repo. :param dir_name: Name to check if a matching directory exists.

gitmerge.errors module

exception gitmerge.errors.IncompatibleArgumentsException(args)[source]

Bases: Exception

exception gitmerge.errors.InvalidRepositoryException(dest)[source]

Bases: Exception

exception gitmerge.errors.MissingArgumentException(missing_args)[source]

Bases: Exception

gitmerge.gitmerge module

gitmerge.merge module

Module contents