Opened 15 years ago

Closed 15 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 by Bruno Cornec, 15 years ago

Milestone: 0.9.60.9.7

comment:2 by Bruno Cornec, 15 years ago

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

comment:3 by Bruno Cornec, 15 years ago

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.