[squeak-dev] The Trunk: Monticello-bf.496.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Mar 8 17:40:38 UTC 2012


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!



More information about the Squeak-dev mailing list