名称

svn changelist — Associate (or deassociate) local paths with a changelist.

概要

changelist CLNAME TARGET...
changelist --remove TARGET...

描述

Used for dividing files in a working copy into a changelist (logical named grouping) in order to allow users to easily work on multiple file collections within a single working copy.

Alternate Name

cl

改变

工作拷贝2

是否访问版本库

选项

--remove
--depth ARG
--targets ARG
--changelist ARG
--config-dir ARG

例子

Edit three files, add them to a changelist, then commit only files in that changelist:

$ svn cl issue1729 foo.c bar.c baz.c
Path 'foo.c' is now a member of changelist 'issue1729'.
Path 'bar.c' is now a member of changelist 'issue1729'.
Path 'baz.c' is now a member of changelist 'issue1729'.

$ svn status
A      someotherfile.c
A      test/sometest.c

--- Changelist 'issue1729':
A      foo.c
A      bar.c
A      baz.c

$ svn commit --changelist issue1729 -m "Fixing Issue 1729."
Adding         bar.c
Adding         baz.c
Adding         foo.c
Transmitting file data ...
Committed revision 2.

$ svn status
A      someotherfile.c
A      test/sometest.c

Note that only the files in changelist issue1729 were committed.