On Fri, Dec 08, 2006 at 08:51:34AM -0800, Stephen Lau wrote: > Darren J Moffat wrote: > >Danek Duvall wrote: > > > Worst comes to worst, it probably won't be all that difficult to write a > >>wx->hg bridge, but I don't really think we'll have to go that far, unless > >>we get a lot of cranky old ON engineers who refuse to change their ways. > >>Okay, we might have to do it. :) > > > >My preference is that wx(1) as a command should die it is a teamware > >helper and we are going to Mercurial. > > > >There is enough of a concept change in Teamware to Mercurial that I > >think it is actually better if the CLI is completely changed. > > > >If said crankypants people want aliases they can write them but we > >should embrace the Mercurial way - don't fight it by trying to model > >Teamware/wx behaviours in hg or hg extensions or wrappers. > > > > +1 > (which is why I think writing a Mercurial extension to do things like > checks, etc. makes the most sense) > > It also reduces the engineering effort for porting wx, since we can > "leave" wx as-is for Teamware support, and move onto better things for > Mercurial.
+1 for me too. wx has a number of problems and a strong Teamware/SCCS bias so the above makes sense. The thing I worry about is losing functionality like: - efficient and simple backup and restore - gate rules enforcement. I'm not just talking about pbchk but things like 'wx create' actually checked the parent's deleted_files to see if a file of the same name existed and warned the user about the conflict. If the Mercurial way is to test for this at putback time it's too late. - efficient determination of workspace changes - efficient webrev creation While I'm sure folks can concoct ways of doing the above if not already supported by Mercurial it would be good if standardized ways of doing the above were provided (be it tools or extensions, etc...). -- Will Fiveash Sun Microsystems Inc. Austin, TX, USA (TZ=CST6CDT) _______________________________________________ tools-discuss mailing list tools-discuss@opensolaris.org