Login  Register

The Trunk: Monticello-bf.496.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

The Trunk: Monticello-bf.496.mcz

commits-2
22167 posts
Bert Freudenberg uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-bf.496.mcz

==================== Summary ====================

Name: Monticello-bf.496
Author: bf
Time: 8 March 2012, 6:40:14.351 pm
UUID: 63c6d543-303f-47e3-8c5c-bae52b77170c
Ancestors: Monticello-bf.495

- keep branch name when saving new version

=============== Diff against Monticello-bf.495 ===============

Item was changed:
  ----- Method: MCWorkingCopy>>nextVersionName (in category 'private') -----
  nextVersionName
  | branch oldName |
  ancestry ancestors isEmpty
  ifTrue:
  [ counter ifNil: [ counter := 0 ].
  branch := package name ]
  ifFalse:
  [ oldName := ancestry ancestors first versionName.
+ branch := oldName packageAndBranchName.
- branch := oldName packageName.
  counter ifNil:
  [ counter := (ancestry ancestors detectMax:
  [ : eachVersionInfo | eachVersionInfo versionNumber ])
  ifNil: [ 0 ]
  ifNotNil:
  [ : highestNumbered | highestNumbered versionNumber ] ] ].
  counter := counter + 1.
  ^ branch , '-' , Utilities authorInitials , '.' , counter asString!