views:

60

answers:

1

We have a centralized development server, with everyone working from local checkouts. How can we ignore a specific directory only in our local repositories and not in the centralized repository?

Some background information: The project is a Drupal site, and the files directory of this site is always in flux. As we don't want any changes to the local files directory to be committed to the centralized repo, we ignore this directory using .bzrignore. The problem is that this means the files directory on the centralized development server will also be ignored, which is not what we want. We want to get its changes when updating/checking out, but not be able to commit our own changes to the files directory.

+5  A: 

At the moment it seems not to be possible to perform such a task directly. It is, however, already added to the wishlist in bzr issue tracker.

Jawa
I'm surprised to see the issue hasn't received more attention! I would think this was a common scenario when developing websites/web applications. Someone at work found a workaround, by adding an absolute path to the global "~/.bazaar/ignore" file. Not ideal though.
ximo