It's all about the answers!

Ask a question

How is labelling done after check in of a code for keeping track of repository files meant for migration and other activities?

sagar maniar (1111) | asked Jun 13 '13, 7:57 a.m.
edited Jun 13 '13, 10:49 a.m. by Ralph Schoon (61.1k33643)

1) Is labelling possible in RTC during Check-in??

2) In source control if i check-in a particular file after a change. i want to label it so that i can later query the same label and gather all the files with same label (suppose say meant for migration) together and deploy it.

3) And if labelling is possible how can i query and what query it should be to retrieve those files. And where can i apply that query.

Accepted answer

permanent link
Ralph Schoon (61.1k33643) | answered Jun 13 '13, 10:48 a.m.
RTC does not provide the concept of a label. RTC uses baselines and snapshots.

A Baseline contains all changes in a component that belong together. You can create a baseline on a component in a repository workspace or in a stream. You can recreate the components content from the baseline.

A Snapshot is a component baseline. It baselines all components (or reuses current baselines) in a stream and remembers the baselines. You can create a snapshot on a repository workspace and a stream. You can recreate a stream or repository workspace from a snapshot. Builds can be configured to create snapshots. The snapshot is owned by the element it was created for, but can be changed to be owned by another element e.g. the Stream you flow to.

All these activities target checked in or delivered code.

You can compare baselines with labels, insofar as they allow to recreate the content they describe. Baselines are however immutable. You can not sneak in changes. Snapshots are across several baselines of components.
Geoffrey Clemm selected this answer as the correct answer

Ralph Schoon commented Jun 13 '13, 10:51 a.m.

One other answer

permanent link
Abraham Sweiss (2.4k1131) | answered Jun 13 '13, 10:38 a.m.
Hello Sagar,

A workItem should be associated with a change set.

How to locate a changeset

Associating a change set with a workItem

using WorkItems and Team Process with SCM

Your answer

Register or to post your answer.