X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=dgit-maint-merge.7.pod;h=995fe8b7e28b759aab09102ff98b297c98796607;hp=3da1b78538cd5eba22e805e033d98cde4ce47926;hb=303f60ed281bee140e59a11b043267d4ffc1a550;hpb=6dbc82e06ae1e6840dfa2ef2cc6b496561e6f333 diff --git a/dgit-maint-merge.7.pod b/dgit-maint-merge.7.pod index 3da1b785..995fe8b7 100644 --- a/dgit-maint-merge.7.pod +++ b/dgit-maint-merge.7.pod @@ -148,12 +148,23 @@ Now create I: =back -Then we can import the upstream version: +gbp-import-orig(1) requires a pre-existing upstream branch: =over 4 % git add debian/gbp.conf && git commit -m "create gbp.conf" - % gbp import-orig ../foo_1.2.2.orig.tar.xz + % git checkout --orphan upstream + % git rm -rf . + % git commit --allow-empty -m "initial, empty branch for upstream source" + % git checkout -f master + +=back + +Then we can import the upstream version: + +=over 4 + + % gbp import-orig --merge-mode=replace ../foo_1.2.2.orig.tar.xz =back @@ -205,9 +216,14 @@ Then make new upstream tags available: =back +=for dgit-test dpkg-source-ignores begin + Now you simply need to ensure that your git HEAD is dgit-compatible, -i.e., it is exactly what you would get if you ran B and then unpacked the resultant source package. +i.e., it is exactly what you would get if you ran +B +and then unpacked the resultant source package. + +=for dgit-test dpkg-source-ignores end To achieve this, you might need to delete I. One way to have dgit check your