The svn changelist command associates (or deassociates) local paths with a changelist. I suggest to use this command when a svn commit is associated to a specific issue. The synopsis for associate is:
or
instead the synopsis for deassociate is:
2) Deassociate files:
svn changelist <clname> <files>
svn cl <clname> <files>
svn changelist --remove <files>
Examples:
1) Create a changelist: svn changelist issue1 Myfile.txt Myfile2.txt
svn status
M Myfile3.txt
--- Changelist 'issue1':
M Myfile.txt
A Myfile2.txt
svn commit --changelist issue1 -m "Issue 1"
svn status
M Myfile3.txt
svn changelist issue2 Myfile3.txt
svn status
--- Changelist 'issue2':
M Myfile3.txt
svn changelist --remove Myfile3.txt
svn status
M Myfile3.txt
No comments:
Post a Comment