Opened 11 years ago

Closed 11 years ago

#35 closed enhancement (fixed)

First build with pb doesn't create the correct tree

Reported by: Bruno Cornec Owned by: Bruno Cornec
Priority: critical Milestone: 0.9.7
Component: pb Version: 0.9.4
Keywords: Cc:

Description

When using pb for the first time on a system without previous pb, the checkout done use the version passed in param. However, you may want to refer to the whole tree instead in pburl. Which may create a problem.

pb should detect that and propose the right thing.

Checking out svn+ssh://svn.project-builder.org/mondo/svn/pb to /home/pb/pb//0.9.4 ... Executing svn co svn+ssh://svn.project-builder.org/mondo/svn/pb /home/pb/pb//0.9.4

Where pburl is

pburl pb = svn+ssh://bryang@svn.project-builder.org/mondo/svn/pb

In that case the co creates twice a 0.9.4 dir in which it exports the content.

Change History (3)

comment:1 Changed 11 years ago by Bruno Cornec

Milestone: 0.9.60.9.7

comment:2 Changed 11 years ago by Bruno Cornec

Owner: set to Bruno Cornec
Priority: minorcritical
Status: newassigned

comment:3 Changed 11 years ago by Bruno Cornec

Resolution: fixed
Status: assignedclosed

pb now forces the usage of a -r option in case nothing was already checked out before, as it can not determine otherwise critical config params. And it checks out only the branch concerned. Quicker and safer. Doesn't prevent you to manually export everything and adpat your conf params accordingly. Can also use a generic pburl, as it appends the version to it, in case it's not there. Fixed in rev [736]

Note: See TracTickets for help on using tickets.