X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=topbloke.git;a=blobdiff_plain;f=tb-create.pl;h=0e93c45381a8f723c438fecfd37ebf71d91a33b1;hp=5c620f35fb30bd5a0186c2f661ac982619d375b2;hb=494c30db6e5fd21d19e8dfc9a10fd37fe46529d0;hpb=9e1fb634471ec4c6c115f9b1314e80495942a8d4 diff --git a/tb-create.pl b/tb-create.pl index 5c620f3..0e93c45 100755 --- a/tb-create.pl +++ b/tb-create.pl @@ -107,12 +107,12 @@ my $baseref = "refs/topbloke-bases/$newpatch"; create_and_switch($baseref, 'base'); meta_and_stage('msg', "# not applicable\n"); -meta_and_stage('deps', "# not applicable\n"); -meta_and_stage('flags', ''); +meta_and_stage('deps', ""); +meta_and_stage('props', "patch $current->{Fullname}\n"); if ($current->{Kind} eq 'foreign') { meta_and_stage('included', $current->{DepSpec}."\n"); - meta_and_stage('pflags', ''); + meta_and_stage('pprops', ''); } run_git(qw(commit -q -m), "tb-create $newpatch base"); @@ -141,9 +141,9 @@ wf_done($nm); stage_meta('msg'); meta_and_stage('deps', "$current->{DepSpec}\n"); -# we inherit empty flags from the base branch +# we inherit correct props and pprops from the base branch -flagsfile_add_flag('included',$newpatch); +depsfile_add_dep('included','tb',$newpatch); stage_meta('included'); run_git(qw(commit -q -m), "tb-create $newpatch tip");