[git-debrebase breakwater: new upstream NEW-UPSTREAM-VERSION, merge]
[git-debrebase: new upstream NEW-UPSTREAM-VERSION, changelog]
-[git-debrebase: gbp2debrebase, drop patches]
+[git-debrebase convert-from-gbp: drop patches]
[git-debrebase breakwater: declare upstream]
[git-debrebase pseudomerge: stitch]
would need to check that dgit view is actually dgit view of
ond of our ancestors
failing that first push will need --overwrite
-
-should this be called import or gbp2debrebase as it is now ?
-gbp uses "import" oddly but I'm tempted to use it normally here.
# git-debrebase [<options>] stitch [--prose=<for commit message>]
# git-debrebase [<options>] downstream-rebase-launder-v0 # experimental
#
-# git-debrebase [<options>] gbp2debrebase-v0 \
+# git-debrebase [<options>] convert-from-gbp \
# <upstream>
# problems / outstanding questions:
close U or failedcmd @upd_cmd;
}
-sub cmd_gbp2debrebase () {
+sub cmd_convert_from_gbp () {
badusage "needs 1 optional argument, the upstream" unless @ARGV<=1;
my ($upstream_spec) = @ARGV;
$upstream_spec //= 'refs/heads/upstream';
runcmd @git, qw(checkout -q gdr-internal~0);
rm_subdir_cached 'debian/patches';
$work = make_commit ['HEAD'], [
- 'git-debrebase import: drop patch queue',
+ 'git-debrebase convert-from-gbp: drop patch queue',
'Delete debian/patches, as part of converting to git-debrebase format.',
- '[git-debrebase: gbp2debrebase, drop patches]'
+ '[git-debrebase convert-from-gbp: drop patches]'
];
# make the breakwater pseudomerge
# the tree is already exactly right
$work = git_rev_parse 'HEAD';
};
- update_head_checkout $old_head, $work, 'gbp2debrebase';
+ update_head_checkout $old_head, $work, 'convert-from-gbp';
}
sub cmd_downstream_rebase_launder_v0 () {
# debian/2.0-1 archive/debian/2.0-1
# remotes/origin/master remotes/dgit/dgit/sid
-t-git-debrebase -fupstream-has-debian gbp2debrebase
+t-git-debrebase -fupstream-has-debian convert-from-gbp
v=2.0-2
dch -v $v -m 'switch to git-debrebase, no other changes'