Linux command
svn-changelist 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Add files to changelist
svn changelist [mychangelist] [file1] [file2]
Remove files from changelist
svn changelist --remove [file1]
List files in changelist
svn status --changelist [mychangelist]
Commit specific changelist
svn commit --changelist [mychangelist]
说明
svn changelist (alias: cl) organizes working copy files into named groups called changelists. This enables selective commits and other operations on file subsets without affecting other modified files. A file can belong to only one changelist at a time. Changelists are purely a client-side organizational mechanism and do not affect the repository. They persist across working copy operations until explicitly removed.
参数
- --remove
- Remove from changelist.
- --depth _depth_
- Operation depth: empty, files, immediates, infinity.
- --targets _file_
- Read target paths from file, one per line.
- --quiet, -q
- Suppress normal output.
FAQ
What is the svn-changelist command used for?
svn changelist (alias: cl) organizes working copy files into named groups called changelists. This enables selective commits and other operations on file subsets without affecting other modified files. A file can belong to only one changelist at a time. Changelists are purely a client-side organizational mechanism and do not affect the repository. They persist across working copy operations until explicitly removed.
How do I run a basic svn-changelist example?
Run `svn changelist [mychangelist] [file1] [file2]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --remove do in svn-changelist?
Remove from changelist.