Media/WebRTC/Legacy Updating Process: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
** For 3.50, I had to use "--exclude media/webrtc/trunk/webrtc/test/run_tests.cc --exclude media/webrtc/trunk/webrtc/test/run_loop.cc --exclude media/webrtc/trunk/webrtc/video_engine/test/common/run_loop.cc --exclude media/webrtc/trunk/webrtc/video_engine/test/common/run_tests.cc" (not critical but reduces confusion) | ** For 3.50, I had to use "--exclude media/webrtc/trunk/webrtc/test/run_tests.cc --exclude media/webrtc/trunk/webrtc/test/run_loop.cc --exclude media/webrtc/trunk/webrtc/video_engine/test/common/run_loop.cc --exclude media/webrtc/trunk/webrtc/video_engine/test/common/run_tests.cc" (not critical but reduces confusion) | ||
* look for any false negatives (typically fiddle the '70') or correct by hand after - less critical | * look for any false negatives (typically fiddle the '70') or correct by hand after - less critical | ||
* hg revert files removed from media/webrtc/trunk/webrtc/modules/video_capture/windows/ | |||
** do this before the real addremove! (can be undone later if needed) | |||
* hg addremove --exclude <whatever> --similarity 70 media/webrtc/trunk/webrtc 2>&1 >/tmp/addremove.out | * hg addremove --exclude <whatever> --similarity 70 media/webrtc/trunk/webrtc 2>&1 >/tmp/addremove.out | ||
** or you can --exclude the directory if there are no renames, adds or removals there | ** or you can --exclude the directory if there are no renames, adds or removals there | ||
** These are files we added to avoid including/using DirectShow/etc files from Microsoft examples | ** These are files we added to avoid including/using DirectShow/etc files from Microsoft examples | ||
(incomplete, WIP) | (incomplete, WIP) |
Revision as of 19:24, 24 March 2014
Process: rough, can use fleshing out
- Get a copy of the stable branch from SVN:
- cd somewhere; svn checkout http://webrtc.googlecode.com/svn/branches/3.50
- rm -rf media/webrtc/trunk/webrtc
- cp -r somewhere/3.50/webrtc media/webrtc/trunk
- copy over any files in media/webrtc/trunk that are needed (few if any - DEPS, OWNERS, etc)
- hg addremove --similarity 70 --dry-run media/webrtc/trunk/webrtc 2>&1 >/tmp/addremove.out
- look for any false positives on renames and fix them (perhaps by adding them to an --exclude list when doing the real addremove\
- near-empty files often result in false renames (null_transport.h, run_tests.cc, etc)
- For 3.50, I had to use "--exclude media/webrtc/trunk/webrtc/test/run_tests.cc --exclude media/webrtc/trunk/webrtc/test/run_loop.cc --exclude media/webrtc/trunk/webrtc/video_engine/test/common/run_loop.cc --exclude media/webrtc/trunk/webrtc/video_engine/test/common/run_tests.cc" (not critical but reduces confusion)
- look for any false negatives (typically fiddle the '70') or correct by hand after - less critical
- hg revert files removed from media/webrtc/trunk/webrtc/modules/video_capture/windows/
- do this before the real addremove! (can be undone later if needed)
- hg addremove --exclude <whatever> --similarity 70 media/webrtc/trunk/webrtc 2>&1 >/tmp/addremove.out
- or you can --exclude the directory if there are no renames, adds or removals there
- These are files we added to avoid including/using DirectShow/etc files from Microsoft examples
(incomplete, WIP)