I’ve been working on upgrading our ancient Arc install to the latest version (yay lockdown projects - the stacked land support would be a great addition for our git-svn users, which I’m trying to encourage) and porting over aik099’s various SVN improvement patches to it. (I’d love to try and bring some of these upstream if you’re open to it, particularly the ones that fix support for newer SVN client versions - I know there’s been some alignment issues in the past though.)
It looks like all the git-svn logic has been lost in
arc land, and it doesn’t seem to be doing the right thing automatically any more (following the reproduction steps from T13293 as I can never remember how to setup git-svn ). Reading through the release notes I can’t see any mention of support being dropped (only HgSubversion in T13547) - so is it just temporarily lost and on the near-term plans for support? lost but not currently planned? or removed and forgotten for the release notes?
arc2 below is
2565cc7 2020 Week 27 + patches),
4d22e0f 2019 Week 10 + patches. The set of patches in each case are slightly different, but none of them touch the land workflow or any of the git repository API pieces.
I’m very happy to give this a shot at bringing into the new workflow if you’re a) happy to have it, b) consider the previous implementation roughly reasonable, and c) don’t think you’ll be getting to it for a while. It’d probably be in the order of months though, as I’m currently trying to move countries in the middle of all this!
[root@TPS-POR-ASHER1 git-svn-test]# arc2 --config 'repository.callsign=SVNTEST' land STRATEGY Merging with "squash" strategy, the default strategy. SOURCE Landing the current branch, "arcpatch-D6580". ONTO REMOTE Landing onto remote "origin", the default remote under Git. USAGE EXCEPTION No pushable remote "origin" exists. Use the "--onto-remote" flag to choose a valid, pushable remote to land changes onto.
[root@TPS-POR-ASHER1 git-svn-test]# arc --config 'repository.callsign=SVNTEST' land Landing current branch 'arcpatch-D6580'. Switched to branch master. Updating branch... The following commit(s) will be landed: f5d1f10 Update the README regarding Lemons Switched to branch arcpatch-D6580. Identifying and merging... Landing revision 'D6580: Update the README regarding Lemons'... BUILDS Checking build status... BUILDS PASSED Harbormaster builds for the active diff completed successfully. Pushing change... Committing to svn+ssh://firstname.lastname@example.org/source/svn-test/trunk/project_one ... M README.md Committed r9 M README.md r9 = 1a9ca8f48cb77cb8fb4a9abdbefa9d8a01a49adb (refs/remotes/git-svn) No changes between 92957b9c05feebe5f43519f7371bd22eb0105b64 and refs/remotes/git-svn Resetting to the latest refs/remotes/git-svn Cleaning up feature branch... (Use `git checkout -b 'arcpatch-D6580' 'f5d1f10f85c19e035aa99ab0480476859a032f2b'` if you want it back.) Done.