Beginner Q's … editing repo files directly

Asked by Zearin

Since I'm just about ready to try out version control on my code for the first time (actually, I tried SVN briefly some time ago but gave up on it), just wondering:

     1. Is there ever a case to edit the files in the repo directly? (Or put another way, is the ONLY editing you should be doing in working copies?)

     2.1. Does using the OS file manager (I'm on OS X, so for me it's Finder) to move/rename/copy files mess up a working copy?
          2.2. What about a branch?

Question information

English Edit question
Bazaar Edit question
No assignee Edit question
Solved by:
Vincent Ladeuil
Last query:
Last reply:
Revision history for this message
Best Vincent Ladeuil (vila) said :

A1: You never ever edit anything under .bzr (include the repo)

A2.1: You can use the finder to move/rename/copy files, but you will need to inform bzr after the fact about your changes (search for --after in bzr help mv)

A2.2: You can move/rename/copy a standalone branch as you wish. If you use a shared repo though, the result of the move/rename/copy should stay *under* (or inside) the the shared repo.

Revision history for this message
Zearin (zearin) said :

Thanks vila, that solved my question.