Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / 000395.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard">
4 <head>
5    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6    <meta name="generator" content="Movable Type 5.2.3" />
7
8    <link rel="stylesheet" href="http://defaria.com/blogs/Status/styles-site.css" type="text/css" />
9    <link rel="alternate" type="application/atom+xml" title="Atom" href="http://defaria.com/blogs/Status/atom.xml" />
10    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://defaria.com/blogs/Status/index.xml" />
11
12    <title>Status for Andrew DeFaria: verifycrs</title>
13
14    <link rel="start" href="http://defaria.com/blogs/Status/" title="Home" />
15    <link rel="prev" href="http://defaria.com/blogs/Status/archives/000394.html" title="complogs" />
16    <link rel="next" href="http://defaria.com/blogs/Status/archives/000396.html" title="LOS178 3.0.0 200508012" />
17
18    
19
20    
21
22    <script type="text/javascript" src="http://defaria.com/blogs/Status/mt-site.js"></script>
23 </head>
24 <body class="layout-one-column" onload="individualArchivesOnLoad(commenter_name)">
25    <div id="container">
26       <div id="container-inner" class="pkg">
27
28          <div id="banner">
29             <div id="banner-inner" class="pkg">
30                <h1 id="banner-header"><a href="http://defaria.com/blogs/Status/" accesskey="1">Status for Andrew DeFaria</a></h1>
31                <h2 id="banner-description">Searchable status reports and work log</h2>
32             </div>
33          </div>
34
35          <div id="pagebody">
36             <div id="pagebody-inner" class="pkg">
37                <div id="alpha">
38                   <div id="alpha-inner" class="pkg">
39
40                      <p class="content-nav">
41                         <a href="http://defaria.com/blogs/Status/archives/000394.html">&laquo; complogs</a> |
42                         <a href="http://defaria.com/blogs/Status/">Main</a>
43                         | <a href="http://defaria.com/blogs/Status/archives/000396.html">LOS178 3.0.0 200508012 &raquo;</a>
44                      </p>
45
46                      <a id="a000395"></a>
47                      <div class="entry" id="entry-395">
48                         <h3 class="entry-header">verifycrs</h3>
49                         <div class="entry-content">
50                            <div class="entry-body">
51                               <ul>
52   <li>Created a script, verifycrs, which when given a lot of parameters will insure that the file revisions associated with a set of CRs (or ECRs) has been properly migrated into another CVS repository</li>
53 </ul>
54                            </div>
55                            <div id="more" class="entry-more">
56                               <h3>verifycrs</h3>
57
58 <p>The verifycrs script verify that the files associated with a list
59 of [E]CRs from one CVS repository are present in another CVS repository.</p>
60
61 <p>Odd as it seems we have a situation here where CVS repositories have to remain separate due to contract concerns. Nevertheless code is routinely exported from one repository to the other. Then it is needed to verify that a set of [E]CRs have successfully made it into the other repository.</p>
62
63 <p>The plan here is simple: Checkout both repositories as per a base tag to a temporary area. Then update the "from" repository by utilizing files4[e]cr in update mode. At this point we are sure that the from repository is correct.</p>
64
65 <p>The "to" repository - also checked out via a tag - should be already up to date (IOW we use a to tag of the resultant build). Then all that is needed is to compare the list of files associated with the [E]CRs being imported.</p>
66
67 <p>In order to minimize false diffs, checkouts are down without keywords (i.e. -kk).</p>
68
69 <div class="code"><pre>
70 Usage: verifycrs [-u] [-v] [-d]
71         -fcvsroot &lt;CVSROOT&gt; -fmod &lt;CVS module&gt; -ftag &lt;tag&gt;
72         -tcvsroot &lt;CVSROOT&gt; -tmod &lt;CVS module&gt; -ttag &lt;tag&gt;
73         [-c &lt;CRs...&gt;|-e &lt;ECRs...&gt;]
74
75 Where:
76
77         -u              Display usage
78         -v              Turn on verbose mode
79         -d              Turn on debug mode
80         -fcvsroot       CVSROOT specification for from repository
81         -fmod           CVS module (e.g. los178)
82         -ftag           From tag (e.g. DEV_LOS178_3p0p0_ppc_20050704)
83         -tcvsroot       CVSROOT specification for to repository
84         -tmod           CVS module (e.g. los178)
85         -ttag           To tag (e.g. DEV_HYBRIDOS_3p0p0_ppc_20050707)
86         &lt;CRs&gt;           CR numbers included in this export/import
87         &lt;ECRs&gt;          ECR numbers included in this export/import
88 </pre></div>
89                            </div>
90                         </div>
91                         <p class="entry-footer">
92                            <span class="post-footers">Posted by  on July 29, 2005 12:11 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000395.html">Permalink</a>
93                         </p>
94                      </div>
95
96                      
97
98                      
99                   </div>
100                </div>
101             </div>
102          </div>
103       </div>
104    </div>
105 </body>
106 </html>