Commit b64845e6 authored by Elouan Martinet's avatar Elouan Martinet
Browse files

Rename project to hggitforge

parent 5fa2c28dc4e3
"""hggithub
"""hggitforge
Add some usefull command to work with github
Add some usefull command to work with forge
"""
import os
import os.path as osp
......@@ -154,7 +154,7 @@ def _ghremote(git_repo, git_remote_url, git_branch, hg_bookmark):
b"ghclone", [], _("git_fork_path git_upstream_path working_directory"), norepo=True
)
def ghclone(ui, git_fork_url, git_upstream_url, working_directory, **opts):
"""Prepare working directory to work with github"""
"""Prepare working directory to work with forge"""
try:
_ghclone(git_fork_url, git_upstream_url, working_directory)
except CalledProcessError:
......@@ -165,7 +165,7 @@ def ghclone(ui, git_fork_url, git_upstream_url, working_directory, **opts):
@command(b"ghpull", [], _(""))
def ghpull(ui, repo, **opts):
"""Prepare working directory to work with github"""
"""Prepare working directory to work with forge"""
os.chdir(repo.root)
git_repo = ui.config("gitrepo", "gitrepo")
try:
......@@ -176,7 +176,7 @@ def ghpull(ui, repo, **opts):
@command(b"ghpush", [], _("bookmark"))
def ghpush(ui, repo, bookmark, **opts):
"""Prepare working directory to work with github"""
"""Prepare working directory to work with forge"""
os.chdir(repo.root)
git_repo = ui.config("gitrepo", "gitrepo")
try:
......
#!/usr/bin/env python
"""hggithub setup module"""
"""hggitforge setup module"""
from setuptools import find_packages, setup
setup(
name="hggithub",
name="hggitforge",
version="0.1.0",
author="LOGILAB S.A. (Paris, FRANCE)",
author_email="contact@logilab.fr",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment