Re: [eclipsedarcs-develop] Push All operation refactoring + Send All Fix.
Status: Alpha
Brought to you by:
radoslawg
|
From: <rad...@gm...> - 2007-03-20 11:03:32
|
2007/3/20, Leif Frenzel <lei...@go...>: > Hi Radek, > > > > What I was thinking while implementing this page was to have > > repository attached with given project. This is not supported by > > RepositoryLocationManager as far as I understand it. Moreover I'm not > > sure does it make much sense to have repos for projects only. > > > > What do you think? Should we care and support such a feature or do we > > use global repo locations everywhere? If we support it then I think > > IDarcsRepository should have link to Projects (if attached to one) and > > RepositoryLocationManager should have the ability to search repos for > > given project. Right? I don't think that is very hard to do... > I think having repos globally simplifies things. > > Also, I think to associate them is very easy. Every project has a repository > provider attached to it, if it is shared with Darcs. From that, it can be > determined to which repo a project belongs (that is for instance what the > [Right-click project] > Darcs repo > Browse action does. It checks with > which repo the project is shared, and then opens that repo in the Darcs > Browsing perspective (or creates it there, if it is not yet there). That's a > feature I use quite often, btw. ;-) Yes, but this is one (project) to one (repo) mapping (Correct me if I'm talking rubbish). What I was thinking was one (project) to many (repos) mapping. Let's say I change my code, and from time to time I push to my own branch. Now I want to create patch against (or push to or whatever) main repository - I would have to have two repositories attached to one project. But anyway, I agree to use global list. It is not an issue for me. > > Also, what do we do with pop-up menu for project? I think that we > > should either move everything to "Darcs Repository" or back to "Team" > > menu. I don't think we should keep it mixed like it is right now for > > 0.4 release which is coming soon I think. :D Will you take a look at > > it? > Yes, I'll try it out again. My suspicion is, however, that there is a bug in > the menu handling in Eclipse. I have found it not possible to have submenus > under 'Team'. If that is actually so, there might be a chance that it will > be fixed in Eclipse 3.3, however. Great! Cheers, Radek. |