Login | Register
My pages Projects Community openCollabNet

Discussions > users > questions about "unversion" and "ignore"

fsvs
Discussion topic

Back to topic list

questions about "unversion" and "ignore"

Author mmm4m5m
Full name Mmm Mmm
Date 2008-07-23 04:01:16 PDT
Message Hi all,


I am new to both fsvs and svn. Please, excuse me if my questions are irrelevant or if question are related to svn.



1. About svn repository

case 1: I commit file XYZ; then I unversion and ignore file XYZ.
-> How to completely remove file XYZ from svn repository and save disk space?

case 2: I do daily commits; once in a month I remove all garbage (empty trash, uninstall temp/test software).
-> How to shrink svn repository and remove all daily commits?

Does fsvs handle these cases? (or maybe svndumpfilter is the answer?)

If I am able to shrink my svn repository, then I will not worry about ignore filters.


2. I would like to see examples about ignore filters (I did not check everything in mail archive yet, but found "howto backup" tutorial and "FSVS for sysadmins"). I am linux beginner and can't decide easily. Could I ask for advice:


Are these good ignore filters:
./root/.mozilla/fire​fox/*/Cache/**
./home/*/.mozilla/fi​refox/*/Cache/**
./root/.nautilus/met​afiles/file**
./home/*/.nautilus/m​etafiles/file**
./root/.thumbnails/**
./home/*/.thumbnails/**
./root/.Trash/**
./home/*/.Trash/**


I do not like global ignore filters like:
./**~
So, I am planning to ignore each file separately like:
./etc/apt/sources.list~
Is it good or bad?


To ignore apt cache or to clear cache before commit?
/var/cache/apt/archives/**


I see many add/delete entries about:
/var/lib/scrollkeeper/index/**
/var/lib/scrollkeeper/TOC/**
Can I add ignore filter for these? As I understand all these are saved in svn repository and it will grow up slowly.


"Howto backup" tutorial does not say anything about "ignore log files". So I suppose it is bad idea.



3. About ignore filters and usage (please, correct me if I am wrong).
As I understand, before commit I have to check status. Say I have new file XYZ, then I have to decide:
- to delete file XYZ
- to ignore file XYZ
- to add ignore filter for file XYZ or all files with similar name or location
- to commit and keep history for file XYZ

How do you "ignore file XYZ" without ignore filter (reasons: next time when I check status I want to see file XYZ; file XYZ is not ready for commit or maybe will never be commited). Do you set temp ignore filter and after commit remove it?



Again sorry for my beginner questions and thanks in advance.
Plamen.

« Previous message in topic | 1 of 11 | Next message in topic »

Messages

Show all messages in topic

questions about "unversion" and "ignore" mmm4m5m Mmm Mmm 2008-07-23 04:01:16 PDT
     Re: questions about "unversion" and "ignore" pmarek P.Marek 2008-07-23 06:07:08 PDT
         Re: questions about "unversion" and "ignore" Thomas Harold <tgh at tgharold dot com> Thomas Harold <tgh at tgharold dot com> 2008-07-23 07:24:18 PDT
             Re: questions about "unversion" and "ignore" mmm4m5m Mmm Mmm 2008-07-23 14:35:30 PDT
         Re: questions about "unversion" and "ignore" mmm4m5m Mmm Mmm 2008-07-23 14:21:49 PDT
             Re: questions about "unversion" and "ignore" pmarek P.Marek 2008-07-26 05:36:13 PDT
             Re: questions about "unversion" and "ignore" pmarek P.Marek 2008-08-23 10:56:12 PDT
         Re: questions about "unversion" and "ignore" mmm4m5m Mmm Mmm 2008-07-24 01:54:46 PDT
         Re: questions about "unversion" and "ignore" mmm4m5m Mmm Mmm 2008-07-24 02:55:34 PDT
         Re: questions about "unversion" and "ignore" mmm4m5m Mmm Mmm 2008-07-23 23:15:29 PDT
     Re: questions about "unversion" and "ignore" Sheldon Hearn <sheldonh at starjuice dot net> Sheldon Hearn <sheldonh at starjuice dot net> 2008-07-23 07:19:55 PDT
Messages per page: