Commit graph

38 commits

Author SHA1 Message Date
Ray Shirohara a655d1d81f
feat: add partial option support to GitBackend 2025-03-26 00:24:42 +09:00
Yoichi NAKAYAMA dafa59dfa6 Support pijul 2024-02-02 06:07:34 +09:00
Nathan Baulch 4316194dc6 Minor linting 2022-08-18 16:02:06 +10:00
itchyny f257a4210e Use t.Cleanup to remove temporally directories for tests 2022-05-08 10:09:00 +09:00
Jakob Helmecke d114440efb feat: do a bare clone 2022-01-05 19:02:04 +01:00
Yoichi Nakayama 3f465fe185 Remove unnecessary substitution of cmdutil.CommandRunner 2020-06-18 23:32:27 +09:00
Yoichi Nakayama ca2d84fd81 Use exit code of git rev-parse @{upstream} to select fetch or pull 2020-06-18 23:26:57 +09:00
Yoichi Nakayama bc8ffec2d9 Fetch instead of pull if the working tree isn't tracking remote. 2020-06-18 20:52:29 +09:00
Songmu 6171577758 update module name to github.com/x-motemen/ghq and fix import paths 2020-01-24 21:21:56 +09:00
Songmu 896729237c add 'TestVCSBackend/[git-svn] clone specific branch from tagged URL with shallow' 2020-01-06 01:31:56 +09:00
Songmu 0a044f31e4 add 'TestVCSBackend/[svn] checkout with filling trunk' 2020-01-06 01:18:28 +09:00
Songmu 0f2e99674c add test TestVCSBAckend/[git]_switch_git-svn_on_update 2020-01-06 01:03:47 +09:00
Songmu 9175498fc4 add TestVCSBackend/[git]_update_recursive 2020-01-06 00:54:03 +09:00
Songmu 52bf3e5b7e shallow support on git-svn 2019-12-30 04:01:27 +09:00
Songmu 6f9d4e587b handle trunk on svn 2019-12-30 02:43:48 +09:00
moajo a4e9027425 add --recursive option to ghq get 2019-12-20 18:48:33 +09:00
Songmu 676ed981c9 define type vcsGetOption struct 2019-12-17 23:03:53 +09:00
rhysd 2afd6e15d1 add and fix tests for --branch option 2019-12-01 13:28:48 +09:00
Songmu b4c768e92d utilize newTempDir 2019-05-06 16:20:15 +09:00
Songmu 7ca044d286 fix test 2019-05-06 02:58:16 +09:00
Songmu d0a8b4be10 trivial fix 2019-05-05 21:44:17 +09:00
Songmu e7ba0aba47 fix FossilBackend and add test for it 2019-05-05 21:03:31 +09:00
Songmu a8b384f13b s/Commands/commands/ 2019-05-01 13:56:20 +09:00
Songmu dcc0914801 rewrite vcs_test.go 2019-05-01 11:10:56 +09:00
Songmu fa758db848 rewrite TestVCSBackend 2019-05-01 11:08:51 +09:00
Songmu d8e2e48efc rewrite TestGitBackend in table driven test 2019-05-01 10:19:00 +09:00
Songmu ccc012ea13 cleanup tempDirs in testing 2019-05-01 02:44:05 +09:00
Michihito Shigemura 8d67bb0bb0 Support bazaar checkout and bazaar branch
Config:

[ghq]
    vcs = bazaar

Examples:

$ ghq get https://launchpad.net/terminator
     clone https://launchpad.net/terminator -> /path/to/launchpad.net/terminator
       bzr branch https://launchpad.net/terminator /path/to/launchpad.net/terminator
$ ghq get -u https://launchpad.net/terminator
    update /path/to/launchpad.net/terminator
       bzr pull
2019-04-30 18:43:46 +09:00
Songmu 7211ee9c08 fix tests 2019-04-29 20:45:44 +09:00
Songmu 31d2951692 rename package s/utils/cmdutil/ 2019-04-27 23:51:36 +09:00
Songmu dce258e71d fix test 2019-04-27 02:08:11 +09:00
Akinori MUSHA a1d1dd08cb Add a dummy CVS backend to recognize and skip CVS working directories 2019-02-04 20:27:45 +09:00
Mitsutoshi Aoe c57d95cad9 Add darcs backend 2015-04-15 23:04:00 +09:00
sona_tar 2c94ab8ca8 Support git-svn 2014-10-14 22:16:19 +09:00
sona_tar fd98cbcb9a Support Subversion 2014-10-14 22:16:02 +09:00
Takumi IINO 86986462a3 Add --update option to hg pull for update working directory 2014-06-24 16:03:46 +09:00
motemen d79573a5f1 ghq get -shallow to perform git clone --depth 1 2014-06-14 10:33:13 +09:00
motemen 89934cc074 test VCSBackend 2014-06-14 10:29:17 +09:00