I would prefer the second solution: only uploading named files (or a whole subdirectory) instead of having to choose what to ignore. I especially like the second solution because it allows me to place a sub-directory from the working tree into a different path on the server.
For example:
project-name/.bzr
project-name/themes/theme-name/files
project-name/design/files
I only want to upload theme-name/files. I into theme-name on the server. It just so happens that I am careful about matching the directory "themes" on the server and in the working tree, but I would prefer if I did not have to be so careful.
perhaps the initial upload would be something like:
I would prefer the second solution: only uploading named files (or a whole subdirectory) instead of having to choose what to ignore. I especially like the second solution because it allows me to place a sub-directory from the working tree into a different path on the server.
For example: name/themes/ theme-name/ files name/design/ files
project-name/.bzr
project-
project-
I only want to upload theme-name/files. I into theme-name on the server. It just so happens that I am careful about matching the directory "themes" on the server and in the working tree, but I would prefer if I did not have to be so careful.
perhaps the initial upload would be something like:
cd /path/to/ project- name username@ host/path/ to/directory
bzr --local upload themes/theme-name sftp://
I hope that helps to clarify my vision? :)