Download Fossil Version Control A Users Guide

Transcript
Fossil Version Control
A Users Guide
[Pandora-2:jschimpf/Public/FossilBook] jim% fossil help merge
Usage: fossil merge [--cherrypick] [--backout] VERSION
The argument is a version that should be merged into the current
checkout. All changes from VERSION back to the nearest common
ancestor are merged. Except, if either of the --cherrypick or
--backout options are used only the changes associated with the
single check-in VERSION are merged. The --backout option causes
the changes associated with VERSION to be removed from the current
checkout rather than added.
Only file content is merged. The result continues to use the
file and directory names from the current checkout even if those
names might have been changed in the branch being merged in.
Other options:
--detail
Show additional details of the merge
--binary GLOBPATTERN
Treat files that match GLOBPATTERN as binary
and do not try to merge parallel changes. This
option overrides the "binary-glob" setting.
Figure 93: merge details
5.3.14
tag
This command can be used to control “tags” which are attributes added to any entry in the time line.
You can also add/delete/control these tags from the UI by going into the timeline, picking an entry
then doing an edit. See Figure ?? on page ??.
[Pandora-2:jschimpf/Public/FossilBook] jim% fossil help tag
Usage: fossil tag SUBCOMMAND ...
Run various subcommands to control tags and properties
fossil tag add ?--raw? ?--propagate? TAGNAME CHECK-IN ?VALUE?
Add a new tag or property to CHECK-IN. The tag will
be usable instead of a CHECK-IN in commands such as
update and merge. If the --propagate flag is present,
the tag value propagates to all descendants of CHECK-IN
fossil tag cancel ?--raw? TAGNAME CHECK-IN
Remove the tag TAGNAME from CHECK-IN, and also remove
the propagation of the tag to any descendants.
fossil tag find ?--raw? TAGNAME
List all check-ins that use TAGNAME
fossil tag list ?--raw? ?CHECK-IN?
List all tags, or if CHECK-IN is supplied, list
all tags and their values for CHECK-IN.
The option --raw allows the manipulation of all types of tags
used for various internal purposes in fossil. It also shows
"cancel" tags for the "find" and "list" subcommands. You should
not use this option to make changes unless you are sure what
you are doing.
If you need to use a tagname that might be confused with
a hexadecimal baseline or artifact ID, you can explicitly
disambiguate it by prefixing it with "tag:". For instance:
fossil update decaf
will be taken as an artifact or baseline ID and fossil will
probably complain that no such revision was found. However
fossil update tag:decaf
will assume that "decaf" is a tag/branch name.
Figure 94: tag details
PAN-20100424
Revision: 1.79
28 December 2014
Page 69 of 85