Craig

   I would rather use a more restricted pattern.

  $ svn propset svn:ignore "*.log" log/

   I want 'svn st' to let me know if something different than a log
file exists in the log/ folder

--
Aníbal Rojas
http://hasmanydevelopers.com
http://rubycorner.com
http://anibal.rojas.com.ve

On Jul 4, 9:30 am, "Craig Demyanovich" <[EMAIL PROTECTED]> wrote:
> You want to keep the log directory, because rails needs it to run.
> What you want to do is ignore any files in the log directory.
>
> Your project must already be tracked by svn in order to ignore files.
> Assuming it is, first, remove any files in the log directory and
> commit.
>
> $ svn rm log/*
> $ svn ci -m "removing log files"
>
> Second, ignore any files in the log directory and commit.
>
> $ svn propset svn:ignore "*" log/
> $ svn ci -m "ignoring log files"
>
> If you ever need to edit an svn property with multiple entries, look
> up svn:propedit and the SVN_EDITOR environment variable, which is just
> one means of telling svn what text editor to invoke when you run
> svn:propedit (and other commands).
>
> Now, if your project is not yet tracked by svn, then remove any files
> in the log directory, import the project, set svn:ignore on the log
> directory as we did earlier and commit.
>
> By the way, the reason that I like to include the empty log directory
> in svn is so that other developers can just checkout the code and get
> to work; there's no little step of remembering to create the log dir.
> I used to do the same for the tmp dir as I described for the log dir,
> but Rails 2.1 creates the tmp dir if doesn't already exist.
>
> Regards,
> Craig
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to