Name

changelist

Synopsis

svn changelist name target...
svn changelist --remove name target...

Group files for operations into named collections. This makes it easier to work or multiple groups of files.

Alternate names: cl

Changes: working copy

Accesses repository: no

Options

--changelist name, -cl name
--depth arg
--quiet (-q)
--remove
--targets filename

Examples

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

$ svn changelist 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        foo.c
Adding        bar.c
Adding        baz.c
Transmitting file data...
Committed revision 2

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

Get Linux in a Nutshell, 6th 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.