Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 446934

Summary: subversion.eclass: v1.83 drops local checkout if svn client fails (on transport errors)
Product: Gentoo Linux Reporter: Bruno <bonbons>
Component: EclassesAssignee: Akinori Hattori <hattya>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bruno 2012-12-11 23:58:53 UTC
When comparing UUIDs of local checkout and remote repository the eclass may end up deleting all of the local checkout in case server returns some error (e.g. HTTP 503 error) instead of providing repository info (UUID).

In case any of the svn calls fails the eclass should die() and not proceed with possibly broken/incomplete output.

In addition, it deletes much more that just the single repository that is affected. It removes $ESVN_PROJECT instead of ${ESVN_PROJECT}/${ESVN_REPO_URI##*/}

For affected ebuilds, see live ebuilds in enlightenment overlay (in combination with enlightenment eclass).

Reproducible: Always