11 Commits

Author SHA1 Message Date
Linux编程科普
1125ec86af
增加Mercurial代码库相关的功能函数
1.增加同步Mercurial代码库的先决条件函数:init_git_remote_hg(),用于初始化依赖脚本、更新git设置等。此函数只需调用一次即可,无需每次同步Mercurial代码库都调用。
2.增加repo_init()函数的Mercurial适用版本:repo_init_hg()
3.增加update_repo_git()函数的Mercurial适用版本:update_repo_git_hg()
4.由于Mercurial支持MultipleHeads,所以出于防止歧义的考虑,我没法实现checkout_repo()函数的Mercurial适用版本。MultipleHeads的链接详见:https://www.mercurial-scm.org/wiki/MultipleHeads
2022-05-11 00:59:16 +08:00
Miao Wang
59d3bfaf3e git: change output format of calc-ed size 2021-07-07 01:43:42 +08:00
z4yx
1681a26ea2 [bug fix] git remote set-head doesn't work with bare repo 2020-05-22 22:01:43 +08:00
z4yx
2dced2260d [git] set remote url before sync 2020-04-27 13:52:55 +08:00
z4yx
633c7116dc [git scripts] add --prune, update remotes/origin/HEAD 2020-04-27 13:16:44 +08:00
z4yx
964e22659a fix the unit 2020-03-21 10:55:34 +08:00
z4yx
31ee06590b unify the size format 2020-03-21 10:16:20 +08:00
z4yx
513ff49b3f git count-objects 2020-03-20 13:34:25 +08:00
Hui Yiqun
f29c49d29c rename repo to git-repo 2016-12-11 19:55:48 +08:00
Hui Yiqun
c42b7c54d1 checkout repo file after syncing 2016-12-11 19:17:45 +08:00
Hui Yiqun
202690620b add sync script for git-repo 2016-11-17 12:33:58 +08:00