[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



2015-10-24 19:42 GMT+02:00 Scott Kitterman <debian@kitterman.com>:
On Saturday, October 24, 2015 12:11:14 PM Ludovic Rousseau wrote:
> 2015-10-24 1:02 GMT+02:00 Brian May <bam@debian.org>:
> > 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
>
> Ah.
> Maybe this should be added in the documentation
> https://wiki.debian.org/Python/GitPackaging
...
> I looks like the repo is back in order.
> I will see if I have problems the next time I update the package.
...

Please feel free to update the wiki based on your experience.

Good idea.
Done in the "New upstream release" chapter.
https://wiki.debian.org/Python/GitPackaging#New_upstream_release

Maybe that is not the best place.

Bye

--
 Dr. Ludovic Rousseau

Reply to: