Closed manics closed 9 years ago
Ah, likely a side-effect of improvements in https://github.com/openmicroscopy/snoopycrimecop/pull/193. Since we have potentially non-matching fork/main repo names, there is no way to guess whether a branch is related to the top-level repository or a submodule.
How about limit branch-merging to the top-level? I'll open a PR if this sounds reasonable.
One of the use cases of this branch merging was actually to have custom Bio-Formats branches /cc @melissalinkert @chris-allan
git.py::GitRepository::merge_base()
might do the trick
This is why in almost all our PR focused workflows we use --shallow
.
Let's have a discussion soon, I just realized the recent changes to support repos with mismatching names broke (or at least add unnecessary complexity) to the workflow described above. At this point, I would rather list all the concrete use cases and make an proper decision on the design on the custom branch merging command.
OK. This only came up because I was working on the conflicting files comment PR https://github.com/manics/snoopycrimecop/compare/possible_conflicts_new
scc merge dev_4_4 --comment -Dnone -Imanics/snoopys-sandbox:added-2
will attempt to mergemanics/snoopys-sandbox:added-2
into the main (expected) and submodule repo (oops).