X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=FORMAT;h=e411d3875fa978e7908561a3f02ff23bce2ccd4b;hb=3c335920aa5b82002d6abb9530af37c466483246;hp=e9683bf2220e06ca0232b753e45c5c7deec76a8c;hpb=94f53550123b9311a10d0e43ada446d4e3a9f144;p=topbloke.git diff --git a/FORMAT b/FORMAT index e9683bf..e411d38 100644 --- a/FORMAT +++ b/FORMAT @@ -1,4 +1,4 @@ -Topbloke branch is: +Topbloke patch is: - branch in refs/topbloke-tips/ contains the working version, fast-forwarding - branch in refs/topbloke-bases/ @@ -7,16 +7,34 @@ Topbloke branch is: In-tree, there are metadata files in .topbloke + Files which are per-patch and do not inherit any contents + or changes from bases or dependencies: + msg brach "commit message" + ("# not applicable" in bases) deps direct dependencies, one per line + as either: + topbloke patch name + /refs/heads/ + ("# not applicable" in bases) - included actual included branches, one per line - - flags flags that apply to this branch, one per line - unknown flags starting with [a-z] are ok; + flags flags that apply to this patch, one per line + base has its own, perhaps different, set of flags; + Unknown flags starting with [a-z] are ok; otherwise fatal. Currently defined flags: - Deleted branch is deleted + Deleted patch is deleted + (valid on tip only) + + Files which not inherit contents and changes from dependencies: + + included actual included deps, one per line + format as for deps + + pflags flags that apply to this patch and all its + dependencies (ie, flags that propagate) + Unknown flags starting with [a-z] are ok; + otherwise fatal. No currently defined flags has the format: @@ -27,8 +45,20 @@ eg ijackson@chiark.greenend.org.uk/2012-01-20T225127Z/reorg/sponge NB only exactly that date format is allowed and timezone must be Z. -Branches may be specified as - [@[/][/] +Patches may be specified as + [/...][] +where / is one of + []@[/ + Only patches matching the specified email local part + or domain name match + [/] + A prefix of the ISO8601 date spec, stopping + just after a numeric component (or at the end) + [/] + Intepreted by date -d after ~s have been replaced by + spaces. When we come to select, take the patch + nearest that date rather than the most recent + may be @@ -37,16 +67,11 @@ Branches may be specified as may be - means all branches are candidates; when we come - to select, take the branch nearest that date rather than - the most recent; the date spec is intepreted by date -d - after ~s have been replaced by spaces - A prefix of the ISO8601 date spec, stopping just after a - numeric component (or at the end) - -So overall, if the current branch is + means all patches are candidates + +So overall, if the current patch is ijackson@chiark.greenend.org.uk/2011-08-20T120320Z/fixes/pudding -then all of the following can refer to the same branch +then all of the following can refer to the same patch ./sponge ../reorg/sponge reorg/sponge @@ -60,9 +85,9 @@ then all of the following can refer to the same branch ijackson@chiark.greenend.org.uk/2012-01-20T225127Z/reorg/sponge Search algorithm: - 1. prefer branches with email address (or domain) - matching current branch - 2. prefer branches with our own email address (or domain) - 3. other branches -Within this there may be branches with multiple dates; prefer the most + 1. prefer patches with email address (or domain) + matching current patch + 2. prefer patches with our own email address (or domain) + 3. other patches +Within this there may be patches with multiple dates; prefer the most recent.