From: Joachim E. <joa...@gm...> - 2010-07-07 21:42:27
|
Hi David, The best trick is to modify directorymergewindow.cpp, line 1409 from originally: if ( mfi.m_ageA == eNew ) to if ( mfi.m_ageA != eNew ) Then recompile. This just inverts the behaviour for choosing the proposed merge operation, but otherwise you still choose "Copy newer instead of merging". Implementing this as a feature wouldn't be much work, but currently I have no time to make a new release. Cheers, Joachim > hi Joachim, > > On 7/6/2010 12:10 PM, Joachim Eibl wrote: > > David M. Besonen wrote: > >> how can i configure kdiff3 to merge two directories such > >> that when duplicate file names are found the oldest file is > >> the one that is retained? > >> > >> assume that dir A: is the location to which the older files > >> from directory B: will be copied. > > > > This is currently not supported. > > might there be a way in which i could "trick" kdiff3 into > executing this behavior? > > > I never had a requirement for this, and also don't understand > > in which kind of situation this might be needed. If you think > > this is a feature others might also need, please provide some > > more information. > > the situation is one in which many files have been duplicated and > modified and located in a directory different than the original > files. this other directory was already populated with a > different set of files. i need to merge these two directories > and i don't want the duplicated, modified files to overwrite the > older files in the first directory with the same file names. > > how much work would it be to add this functionality to kdiff3? > > > thanks, > david > > > > --------------------------------------------------------------------------- > --- This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Kdiff3-user mailing list > Kdi...@li... > https://lists.sourceforge.net/lists/listinfo/kdiff3-user > |