Name
svn changelist — Associate (or deassociate) local paths with a changelist.
Synopsis
changelistCLNAME
TARGET
...
changelist --remove TARGET
...
Description
Used for dividing files in a working copy into a changelist (logical named grouping) to allow users to easily work on multiple file collections within a single working copy.
Alternate names
cl.
Changes
Working copy.
Accesses repository
No.
Options
--changelistARG
--depthARG
--quiet (-q) --recursive (-R) --remove --targetsARG
Example
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.
Get Version Control with Subversion, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.