pharo-vcs / iceberg

Iceberg is the main toolset for handling VCS in Pharo.
MIT License
134 stars 85 forks source link

First step towards multiple working copies #1789

Closed guillep closed 10 months ago

guillep commented 10 months ago

The current repository-centric design allows to have only single working copy. Indeed, before the repository used to do

Repository >> foo
   self workingCopy foo

This PR moves several responsibilities from the repository to the working copy object. A lot of code gets clearer, allows to have multiple working copies, and as backwards compatibility the repository still has a default working copy as before.

Other changes:

Ducasse commented 10 months ago

@guillep there are lot of tests of iceberg that broke.

Ducasse commented 10 months ago

Do you want that I give a try to get some corner cases just using the UI?

guillep commented 10 months ago

If you want, but just FYI, I redid all these changes from scratch so this is much cleaner than what we drafted yesterday. I'm much more confident on this PR than on what we did yesterday ^^.

Ducasse commented 10 months ago

Ok I do not have time right now so once this is integrated I will use it and we will see :)