Questions about CVS

Derek Atkins warlord at MIT.EDU
Wed Jul 23 12:30:48 CDT 2003


Jon Lapham <lapham at extracta.com.br> writes:

> Today I (think I) committed my first CVS change (to
> gnucash-docs). Thanks Derek, the problem was solve by re-checkingout
> the code.
> 
> Does it look like I did it correctly?

Yes, it does:

M3f1e8e51|lapham|<remote>|gnucash-docs/guide/C|1.5|chapter3.xml

It also looks like Dave Peticolas is still following CVS Head...  I
wonder what he's up to nowadays ;)

> Now, a few questions on how you guys work with CVS:
> 
> Do people typically work inside the CVS checkout directory?  Or, do
> you make a copy of it and work in the copy?

I tend to "work" inside the CVS checkout directory.

> When compiling, do you compile within the CVS checkout directory?  (I
> ask because cmpiling makes a bunch of new files, which I imagine we
> want to keep out of CVS).

I actually make a shadow directory (using lndir) and build in there.
That way I can always easily start from an empty build tree and try
autogen from scratch.  It's a bit more work, because I have to make
sure added/removed files get mirrored into my shadow tree, but it
works for me.  YMMV.

> How do you keep both the HEAD and v1.8 branches (I know how to check
> them both out, but they use the same top level directory name)?  Can
> you rename (for example) the directory holding the v1.8 branch from
> "gnucash" to "gnucash_1.8"?

Yes.  I've got /home/warlord/src/{gnucash-cvs,gnucash-1.8,gnucash-gnome2-dev}

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list