Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In both cases, you will need to commit in order for these changes to be pushed to the repository.

Merging Changes

Warning
titleAdvanced Command

Merging is an advanced command.  Always use '--dry-run' to check the results of a merge before executing it.

...

No Format
svn cp -m "Creating development branch." ^/projects/java/trunk ^/projects/java/branches/my-dev-branch

This command can also be used to make copies of files.

No Format
svn cp -m "Copying my file." myfile.java myfile_v2.java

Or to copy a file into a folder.

No Format
svn cp -m "Copying my file." myfile.java some/dir

When copying a file into a folder, the folder must already exist in the repository (or have been added using the add command)Now my-dev-branch will be a complete copy of trunk at the time when it was copied.

Making a Tag

Tagging is actually performed by using the copy command.

...