Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Why won't svn 1.7.10 ignore the nbproject/private folder?

Why won't svn 1.7.10 ignore the nbproject/private folder?

Why won't svn 1.7.10 ignore the nbproject/private folder?

Why won't svn 1.7.10 ignore the nbproject/private folder?
My current directory has a testsandbox sub-directory with these 2 files and the directory.

testsandbox/foo/bar (file)
testsandbox/foo/baz (file)
testsandbox/foo/nbprojects/private (folder)

I want svn to save bar, baz, and nbprojects. I want svn to ignore nbprojects/private.

from testsandbox parent directory, I cat a file in the current directory.

>cat svnignore.txt

Then, I do the following.

>svnadmin create testsandbox/testrepos
svn mkdir file:///{path to current directory}/testsandbox/testrepos/foo -m "Initial Setup"
>svn checkout file:///{path to current directory}/testsandbox/testrepos/foo testsandbox/foo
>svn propset svn:ignore -F ./svnignore.txt testsandbox/foo
>cd testsandbox/foo
>svn add --force .
>cd ../..
>svn commit testsandbox/foo -m "Adding initial codebase"
>svn ls file:///{path to current directory}/testsandbox/testrepos/testsandbox/nbproject

svn saved bar, baz, and nbprojects. But svn has also saved nbprojects/private. Why?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close