Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 568892 - mercurial.eclass: mercurial_src_unpack() leaves changed working directory
Summary: mercurial.eclass: mercurial_src_unpack() leaves changed working directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christoph Junghans (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-20 18:45 UTC by Michał Górny
Modified: 2015-12-20 20:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-12-20 18:45:20 UTC
Soooo I did:

  src_unpack() {
    mercurial_src_unpack
    default
  }

And boom!

  >>> Unpacking python-gentoo-patches-2.7.10-0.tar.xz to /var/cache/portage/hg-src/pypy/pypy

So I'm all like errrrrrr, who forgot to restore working directory after cd?
Comment 1 Christoph Junghans (RETIRED) gentoo-dev 2015-12-20 20:48:48 UTC
commit 74f28291906447d61a67d182322d4a5d031a3c0d
Author: Christoph Junghans <ottxor@gentoo.org>
Date:   Sun Dec 20 13:45:53 2015 -0700

    mercurial.eclass: leave unchanged working dir

    Gentoo-bug: 568892