On Sep 3, 11:02 am, Kez <circle...@gmail.com> wrote:
> On 03/09/2009, at 10:34 AM, Frederick wrote:
>
>
>
> > I can't figure out how to get Versions to ignore a file called
> > configuration.php. When I right-click the file, the option to "Ignore
> > configuration.php" is greyed out. When I click the containing folder
> > and add an ignore statement in there like *.php, or configuration.php,
> > the file still appears with the pencil next to it.
>
> Sounds like its already been committed to the Repository, in which  
> case it is being monitored for changes and so cannot be ignored.
> Ignore is used for files that change but are not neccessary like build  
> files which change regularly but are not required to recreate the  
> project if something weird happens.
>
> does the configuration.php file get changed regularly? ie is it built  
> dynamically from a script or make file etc?
> if so you can delete it from the repository and when versions shows it  
> again with a question mark against it you can then ignore it.
> You may need to checkout your project again after the deletion to make  
> your working copy reflect your repo.
>
> I think this is right and please correct me if there is a better method.
>
> Thoughts Quinn?  ( you seem to be the guy to ask about svn things ;)
>
> HTH
>
> Kieren

Hi Kieren,

That's completely correct, so step-by-step it comes down to:

1. Select configuration.php in Versions Browse view and 'Delete'
2. Hit commit to actually delete the file from the Repository
3. Re-create the file
4. Go back to Versions, and right/control-click the new
configuration.php and select 'Ignore "configuration.php"'
5. Select the folder that contains configuration.php (the ignore
property is actually set on the folder, not the file)
6. Commit again
7. Good riddance

Cheers,
- Dirk
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Versions" group.
To post to this group, send email to versions@googlegroups.com
To unsubscribe from this group, send email to 
versions+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/versions?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to