Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#34 closed task (wontfix)

Document process of merging into RCS tree

Reported by: VincentMcIntyre Owned by: VincentMcIntyre
Priority: major Milestone: 6. Branch code, project tracker set up
Component: miriad4cabb project Version:
Keywords: rcs branch Cc:
Estimated Number of Hours: Add Hours to Ticket: 0
Billable?: no Total Hours: 1.0

Description

For the next few weeks we will have to track changes in an RCS branch.

We need to document

  • how to create the branch
  • how to check files out from and check changes into that branch
  • how to merge? probably won't try to merge until we move to subversion.

Change History (4)

comment:1 Changed 17 years ago by VincentMcIntyre

Status: newassigned

Branching is done on a per file basis. And by default co will take the latest revision. So we need to take care that files in the new branch are easily identifiable as such, by embedding an easily-noticed comment block at the top of the file, for example:

C     ************************** Version 5 Branch ************************
C     This file is part of a major new revision of MIRIAD.
C     If you want to change the 'default' branch, ci -u this file and do
C         co -l -r1 <filename>
C     ********************************************************************

One can control which branch gets checked out by default with rcs -b. Probably the "old" branch should be the default.

Version numbering: the 'ATNF' version of MIRIAD is often referred to as version 3; largely because the BIMA version calls itself version 4. So we could go with 3 or 5 as the major version. I suggest using 5 because this branch will incorporate some major changes, down the track.

To create a branch (for any given file in /nfs/atapplic/miriad/)

  cd /nfs/atapplic/miriad/prog
  co -l foo.for
  vi foo.for    (embed some comment about the branching)
  ci -r5 -u foo.for
  # set the default branch
  rcs -b1 foo.for

make a change to a file along the new branch:

  co -l -r5 foo.for
  vi foo.for
  ci -u foo.for

make a change to a file along the old branch:

  co -l -r1 foo.for
  vi foo.for
  ci -u foo.for

Merging is probably best left until we have things in subversion.

comment:2 Changed 17 years ago by VincentMcIntyre

Resolution: wontfix
Status: assignedclosed

The merge has been done quicker than expected, rendering this irrelevant.

comment:3 Changed 17 years ago by VincentMcIntyre

Billable?: unset
Component: Projectmiriad4cabb project

comment:4 Changed 16 years ago by VincentMcIntyre

Add Hours to Ticket: 1
Total Hours: 01.0

add 1h to account for what work was done on this

Note: See TracTickets for help on using tickets.