CS174
Chris Pollett
Oct 4, 2010
Which of the following statements is true?
svnadmin create /path_to_repository svn co repository_uri local_dir ; cd local_dir #svn import trunk file:///path_to_files_want_in_initial_repository #if importing from a different repository svn mkdir trunk #don't do if did above svn mkdir branches svn mkdir tags
svn checkout url_or_path_to_repository local_dir Or svn co url_or_path_to_repository local_dir
svn list
svn update or svn up
svn resolved filename_with_conflict.
svn ci -m "Fixes BugXXXX, r=so-and-so, a=someone-else"so-and-so is the person who reviewed the patch, someone-else is the person who approved the check-in. You often only have r= or a= but not both.
svn add filename
svn delete filename
svn diff > my_patch.txt
patch -p0 < my_patch.txt
svn copy trunk_url prod_url -m "Create production tag"
svn merge -r###:HEAD trunk_url branch_namethen commit the result.
svn merge -r###:HEAD branch_url trunkon the local copy, then commit the result.