Tuesday, 15 January 2013

java - Adding the svn:ignore property on files that already are under control -


.setting folder and .project file is currently under version control, I must add svn: ignore property to them.

  1. Temporarily backup them locally
  2. Remove them locally and commit (or update them remotely and further)
  3. Add svn: Ignore property and

    The problem is that other developers before updating Will also need to back up their files, as their local files will be deleted while updating . Any other less restrictive solution, or do I actually have to send "backup backup before updating"? Email

    You use svn rm --keep-local instead needed .

    If you are on Unix, you can test it:

      Find. -name.project -exec sh -c 'svn info "{}"' \; -a \ -execdir bash -c 'svn -q proposit svn: ignore -f & lt; ((Svn propget svn: ignore; \ echo .project) sort -us). ' \; -a \ -execdir svn delete --keep-local {} \;   
    1. Search .project file and check whether this version is.
    2. Retrieve the properties and add .project to the local directory. Sort-U prevents duplicate
    3. If you want to ask for confirmation, use - okdir instead < / Ol>

      Note: You can only reduce the end of the same operation (i.e. "cleanliness properties").

      FWW does not hope, properties inherited in svn 1.8 ()

No comments:

Post a Comment