diff options
author | Guido Günther <agx@sigxcpu.org> | 2012-01-13 09:07:19 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2012-01-22 19:45:26 +0100 |
commit | 5b5dbf61244708d9d234a3ef90ce85cd4f35f259 (patch) | |
tree | 4ac0abfab8629011418c4bc6852b423295b1a2f3 /gbp/scripts/import_orig.py | |
parent | 63b24cef4db5277eff7b38bbe359fc30f9d28b90 (diff) | |
download | git-buildpackage-5b5dbf61244708d9d234a3ef90ce85cd4f35f259.tar.gz git-buildpackage-5b5dbf61244708d9d234a3ef90ce85cd4f35f259.tar.bz2 git-buildpackage-5b5dbf61244708d9d234a3ef90ce85cd4f35f259.zip |
PristineTar: move to separate module
and make it accessible from GitRepository to group
checkout/checkin/lookup.
Diffstat (limited to 'gbp/scripts/import_orig.py')
-rw-r--r-- | gbp/scripts/import_orig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/import_orig.py b/gbp/scripts/import_orig.py index 55b2c2e6..98a43d2b 100644 --- a/gbp/scripts/import_orig.py +++ b/gbp/scripts/import_orig.py @@ -396,7 +396,7 @@ def main(argv): if options.pristine_tar: if pristine_orig: - gbpc.PristineTar().commit(pristine_orig, 'refs/heads/%s' % upstream_branch) + repo.pristine_tar.commit(pristine_orig, upstream_branch) else: gbp.log.warn("'%s' not an archive, skipping pristine-tar" % source.path) |