[Ilugc] Migrating from RCS to SVN

  • From: mbhangui@xxxxxxxxx (Manvendra Bhangui)
  • Date: Mon Sep 21 19:25:04 2009

On Mon, Sep 21, 2009 at 7:05 PM, Shakthi Kannan <shakthimaan@xxxxxxxxx>wrote:

| However, with SVN I have not got the
| hang of it to my satisfaction.

\--

Could you please elaborate?

How do I maintain the functionality of RCS?
 e.g. in RCS or SCCS i just have to declare a
variable in my C code as below. Any change using the ci RCS command updates
the revision and timestamp in the source code itself. The $Id: keyword also
goes inside the finally generated binary.

static char    *x = "$Id: qmail-dkim.c,v 1.22 2009-04-22 13:42:51+05:30
Cprogrammer Stab mbhangui $";


---
|  2. When I check out a code, I have the code with all the comments
|   regarding the changes and It helps a lot when fixing a BUG or adding
new
|   features.
\--

Usually 'log' option will give history of the commits.

I am not interested in the log. The log can be used only on the system
where I have my repository. Lot of my users install only the binary. RCS
allows me to have the full information in the executable itself. Executing
the commnand /usr/bin/ident on my binary allows me to see what revisions
went into making the binary.


---
| 3. I also maintain identification in the source code which goes inside
|   the final binary. In SCCS I used the 'what' command. In RCS I use the
ident
|   command.
\--

What are you referring to as 'identification' here? Are you referring
to a 'snapshot' of the project? You can 'tag' at any particular time
during your development or release cycle.

identification refers to the '$Id keyword' which is present in the
executable and using a command like /usr/bin/ident allows me to see that.

svn isn't a distributed VCS. The svn handbook is well documented.
http://svnbook.red-bean.com/

If you want distributed VCS, you can look at mercurial or git.

Mercurial handbook:
http://hgbook.red-bean.com/

Git SCM:
http://git-scm.com/

Thanks for the above links. I am right now reading git.

Other related posts: