Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #7781

Re: git-dpm: ERROR: 'upstream' does not contain previously recorded revision

From Brian May <bam@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: git-dpm: ERROR: 'upstream' does not contain previously recorded revision
Date 2015-10-24 01:10 +0200
Message-ID <qmTDc-7pq-13@gated-at.bofh.it> (permalink)
References <qmPzB-1ob-39@gated-at.bofh.it>
Organization Debian

Show all headers | View raw


Ludovic Rousseau <ludovic.rousseau@gmail.com> writes:

> I tried to update my package pykcs11 since the repository moved from SVN to
> git.
> http://anonscm.debian.org/cgit/python-modules/packages/pykcs11.git/
>
> I imported a new upstream .orig.tar.gz version as descibed in
> https://wiki.debian.org/Python/GitPackaging#New_upstream_release
> and could build and upload the package without problem.
>
> Now the command "git-dpm status" fails with:
> $ git-dpm status
> git-dpm: ERROR: 'upstream' does not contain previously recorded revision
> '8234fc2de2b89d65661233b357f922494590b5aa'!

At a guess, it looks like you didn't push the upstream or the
prestine-tar branches to git.debian.org. git-dpm requires all branches
to be pushed, not just master.

git push --all

i.e. pykcs11_1.3.0.orig.tar.gz isn't in prestine-tar, and the upstream
branch should point to the latest upstream import
'8234fc2de2b89d65661233b357f922494590b5aa' but doesn't.

However this shouldn't have caused you errors with your working
directory unless you deleted your working directory and cloned again
from git.debian.org.

> and also
> $ git-dpm tag
> git-dpm: ERROR: 'upstream' differs from recorded one!

This is a known bug with git-dpm. See
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801548.

Until it is fixed, the best work around seems to be to create the tags
manually, at least until you import a new upstream version. Then the
problem will go away.
-- 
Brian May <bam@debian.org>

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

git-dpm: ERROR: 'upstream' does not contain previously recorded revision Ludovic Rousseau <ludovic.rousseau@gmail.com> - 2015-10-23 20:50 +0200
  Re: git-dpm: ERROR: 'upstream' does not contain previously recorded revision Brian May <bam@debian.org> - 2015-10-24 01:10 +0200
    Re: git-dpm: ERROR: 'upstream' does not contain previously recorded revision Ludovic Rousseau <ludovic.rousseau@gmail.com> - 2015-10-24 12:20 +0200
      Re: git-dpm: ERROR: 'upstream' does not contain previously recorded revision Scott Kitterman <debian@kitterman.com> - 2015-10-24 19:50 +0200
        Re: git-dpm: ERROR: 'upstream' does not contain previously recorded revision Ludovic Rousseau <ludovic.rousseau@gmail.com> - 2015-10-24 21:10 +0200
      Re: git-dpm: ERROR: 'upstream' does not contain previously recorded revision Brian May <bam@debian.org> - 2015-10-25 08:50 +0100

csiph-web