Eric on 17 Sep 2009 06:58:01 -0700 |
Tim, James, Ezra: Your suggestions were all right on the money! I was not aware that I could just go in and delete from the svn repository but that makes sense. I've set global-ignores for now and I'll finesse it for future projects. Thanks again, Eric Ezra Wolfe wrote: > To clarify in case that was confusing: Copy the files you wanted > ignored to another directory. Do an SVN delete of the files you want > ignored. Add the ignore property. Then paste them back in to the > original location (make sure to remove any .svn directories). > > On Thu, Sep 17, 2009 at 9:34 AM, Ezra Wolfe <ewolfe@dlc-solutions.com> wrote: > >> I've had the same problem and pretty sure this also works (caveat: >> it's been a while since this happened) . >> >> Delete the file(s) from the repo. Add the ignore property. Re-add the files. >> >> >> >> On Thu, Sep 17, 2009 at 9:28 AM, Eric <eric@lucii.org> wrote: >> >>> BZZZZT! Previous email sent before it was complete... >>> >>> >>> >>> I have a question about using subversion: >>> >>> I have a tree of source code - but several files and perhaps one >>> specific subdirectory are to be left out of subversion. In my case it's >>> the config.php file which is different between my development and >>> production code. I may even want to leave out ALL the files in the >>> configuration directory and manually maintain any changes there. >>> >>> All the tutorials and instructions I see tell me to use: >>> >>> svn import project_dir file:///home/svn/project >>> >>> ..but this brings ALL the files in the tree "project_dir" into the project. >>> >>> NEVERMIND: In the course of researching the question I found this (AKA: The answer): >>> >>> Subversion's support for ignorable file patterns extends >>> only to the one-time process of adding unversioned >>> files and directories to version control. Once an object is >>> under Subversion's control, the ignore pattern mechanisms no >>> longer apply to it. In other words, don't expect Subversion >>> to avoid committing changes you've made to a versioned file >>> simply because that file's name matches an ignore >>> pattern—Subversion /always/ notices >>> all of its versioned objects. >>> >>> >>> Eric >>> >>> -- >>> # Eric Lucas >>> # >>> # "Oh, I have slipped the surly bond of earth >>> # And danced the skies on laughter-silvered wings... >>> # -- John Gillespie Magee Jr >>> >>> ___________________________________________________________________________ >>> Philadelphia Linux Users Group -- http://www.phillylinux.org >>> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce >>> General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug >>> >>> >> >> -- >> Regards, >> Ezra Wolfe >> >> DLC Solutions, LLC >> 109 South 13th Street >> Unit Two South >> Philadelphia, PA 19107 >> Office: 267-234-7400 Ext. 21 >> Mobile: (215) 868-5336 >> Fax: (703) 935-5594 >> AIM: ezrawolfe >> Skype: ezra.wolfe >> Website: http://www.dlc-solutions.com >> >> Award-Winning eHealth Solutions | Philadelphia, PA & Washington, DC >> >> > > > > -- # Eric Lucas # # "Oh, I have slipped the surly bond of earth # And danced the skies on laughter-silvered wings... # -- John Gillespie Magee Jr ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|