Hi,
I have a bundle that I'd like to store in a subversion repository. As I can see, there is a folder 'Pristine Copy' and a folder 'Bundles'. What is the best practice if I'd link to have all new commands added to the repository without moving them around?
Patrick
Make sure you only have your bundle in ~/Library/Application Support/TextMate/Bundles and not in Pristine Copy.
Then add it to svn.
Having it there will make all changes apply to the real bundle instead of saving the original and changes separately.
thomas Aylott — subtleGradient — CrazyEgg — sixteenColors
On Mar 29, 2007, at 6:22 AM, Patrick Gundlach wrote:
Hi,
I have a bundle that I'd like to store in a subversion repository. As I can see, there is a folder 'Pristine Copy' and a folder 'Bundles'. What is the best practice if I'd link to have all new commands added to the repository without moving them around?
Patrick
On Mar 29, 2007, at 6:22 AM, Patrick Gundlach wrote:
Hi,
I have a bundle that I'd like to store in a subversion repository. As I can see, there is a folder 'Pristine Copy' and a folder 'Bundles'. What is the best practice if I'd link to have all new commands added to the repository without moving them around?
Thomas Aylott (subtleGradient) wrote:
Make sure you only have your bundle in ~/Library/Application Support/TextMate/Bundles and not in Pristine Copy.
Then add it to svn.
Having it there will make all changes apply to the real bundle instead of saving the original and changes separately.
And if you still want to have some changes stored as deltas, you could do something like http://henrik.nyh.se/2007/03/24/textmate-command-to-toggle-writing-deltas/.
Patrick Gundlach wrote:
Make sure you only have your bundle in ~/Library/Application Support/TextMate/Bundles and not in Pristine Copy.
Can I just move the files? What about info.plist? This exist in both dirs.
If you drag-and-drop the bundle from the Bundle Editor to e.g. the desktop, the dropped bundle should include changes from any deltas. So I'd suggest you drag-and-drop to the desktop, then remove (or backup, just in case) the bundle from both Bundles and Pristine Copy, then move it from the desktop to Bundles.
Don't forget to "Reload bundles" in the bundles menu when done.
Can I just move the files? What about info.plist? This exist in both dirs.
If you drag-and-drop the bundle from the Bundle Editor to e.g. the desktop, the dropped bundle should include changes from any deltas. So I'd suggest you drag-and-drop to the desktop, then remove (or backup, just in case) the bundle from both Bundles and Pristine Copy, then move it from the desktop to Bundles.
Don't forget to "Reload bundles" in the bundles menu when done.
Thanks Henrik and Thomas for help. I've got it to work now and also thanks for the link for further reading.
Patrick