From 40e13b78cdb9b2026d87e79d41497bbcc02ad66b Mon Sep 17 00:00:00 2001 From: Isabell Long Date: Tue, 29 May 2012 12:46:33 +0000 Subject: [PATCH] Update the vendor imports section of the Subversion Primer to reflect changes in the wiki page. Reviewed by: gavin Approved by: gabor (mentor) --- .../articles/committers-guide/article.sgml | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/en_US.ISO8859-1/articles/committers-guide/article.sgml b/en_US.ISO8859-1/articles/committers-guide/article.sgml index f281a735b8..528b9e869c 100644 --- a/en_US.ISO8859-1/articles/committers-guide/article.sgml +++ b/en_US.ISO8859-1/articles/committers-guide/article.sgml @@ -2462,6 +2462,47 @@ $target - head/$source:$P,$Q,$R from a consistent state with old code, to a consistent state with new code. + + + From scratch + + + Importing into the vendor tree + + This section is an example of importing and tagging + baycc into + head. + + First, prepare the directory in + vendor: + + &prompt.user; svn co --depth immediates $FSVN/vendor +&prompt.user; cd vendor +&prompt.user; svn mkdir byacc +&prompt.user; svn mkdir byacc/dist + + Now, import the sources into the + dist directory. Once + the files are in place, svn add the new + ones, then svn commit and tag the + imported version. To save time and bandwidth, direct remote + committing and tagging is possible: + + &prompt.user; svn cp -m "Tag byacc 20120115" $FSVN/vendor/byacc/dist $FSVN/vendor/byacc/byacc-20120115 + + + + Merging to head + + Due to this being a new file, copy it for the + merge: + + &prompt.user; svn cp -m "Import byacc to contrib" $FSVN/vendor/byacc/dist $FSVN/head/contrib/byacc + + Working normally on newly imported sources is still + possible. + +