File: cvsgui-5.html

package info (click to toggle)
gcvs 1.0final-17
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 12,248 kB
  • ctags: 10,629
  • sloc: ansic: 71,711; cpp: 39,785; sh: 18,434; makefile: 1,917; yacc: 1,299; tcl: 1,283; perl: 910; lex: 249; csh: 185; lisp: 7
file content (62 lines) | stat: -rwxr-xr-x 2,178 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<HTML>
<HEAD>
<TITLE>CvsGui : MacCVS and WinCvs: Note on dirty files</TITLE>
</HEAD>
<BODY>
<A HREF="cvsgui-4.html"><IMG SRC="prev.gif" ALT="Previous"></A>
<A HREF="cvsgui-6.html"><IMG SRC="next.gif" ALT="Next"></A>
<A HREF="cvsgui.html#toc5"><IMG SRC="toc.gif" ALT="Contents"></A>
<HR>
<H2><A NAME="s5">5. Note on dirty files</A></H2>



<H2><A NAME="ss5.1">5.1 A little bit of history first </A></H2>


<P>We started using cvs in our company when
we turned to Code Warrior Pro 2. We realized Code Warrior had a very annoying
bug and we were unable to find a work around with Source Safe. When you
lock the projects, and if you have a very deep and complex set of projects,
the projects behave badly and recompile each time, plus, they take a long-long
time to open...</P>
<P>So we thought : "OK, let's unlock them". Then the horror : the project
were auto-modifying themselves when unlocked. The problem appeared
when everybody tried to check-in the first time : all the projects
were modified each time, resulting in corrupting and
increasing fastly the size of the repository.</P>


<H2><A NAME="ss5.2">5.2 Advantage of "Open Code Software"</A></H2>


<P>Then I suggested we tried cvs so we could hack cvs by making it behave
the way we expect.</P>
<P>We came up with this solution :</P>
<P>
<UL>
<LI>1. The file with the extension <B>.mcp</B> will be a dirty file.
</LI>
<LI>2. The file will be ignored by cvs, like .cvsignore does, <B>unless</B>
the user asks to <B>explicitely</B> to something with this file :
the method to tell cvs to commit a dirty file is to ask to commit
<B>this</B> files and <B>only</B> this file (a recursive commit
will ignore the dirty file).
</LI>
<LI>3. The only way to add, remove, commit, merge a dirty file is
to explicitly invoke cvs with this operation and with only this file.
</LI>
</UL>
</P>
<P>No need to tell you we'll be happy when finally Metrowerks will have
fixed this bug :<...</P>
<P>
<A NAME="goodies"></A> 
</P>

<HR>
<A HREF="cvsgui-4.html"><IMG SRC="prev.gif" ALT="Previous"></A>
<A HREF="cvsgui-6.html"><IMG SRC="next.gif" ALT="Next"></A>
<A HREF="cvsgui.html#toc5"><IMG SRC="toc.gif" ALT="Contents"></A>
</BODY>
</HTML>