Can we do this a different way which doesn't need a new preference? Also ideally minimize popup dialogs and have an obvious way to toggle between vcs.
Perhaps the vcview could have a combo box which shows all the suitable vcs for the current location? Ideally the last used choice for each location should be saved as the default for next time (and also for locations which are subdirectories of the current location) Even if the preference isn't saved, isn't it the case that in "mixed" vc folders, you'll have cvs/svn and hg/git/whatever and you usually want the dvcs? Stephen. 2009/3/4 Vincent Legoll <[email protected]>: > That last patch #130058 is adding a "Version Control" preference tab, > with a "Multiple version control system" option with a radio button, > allowing to choose the method used when multiple version control systems > are detected in the same directory: > > 1) Old way: guess by taking the one with the longest working directory path > 2) Ask the user with the GUI chooser implemented in the previous 2 patches > 3) Pick first match from a user specified list > > Only the second option is interactive, the other 2 are automatic. > > The old automatic method is used when there is a problem with the user > specified list from option 3) and an error dialog box asks the user to fix the > problem in the preferences. > > Please review, this is my first "real-world" use of glade. I used a version of > glade that was changing tons of things in the .glade file, and the copy/pasted > the relevant part into the old meldapp.glade. > > I tested the whole patch working for me on a "git+hg" combo repository. > > -- > Vincent Legoll > > _______________________________________________ > meld-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/meld-list > _______________________________________________ meld-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/meld-list
