gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu-arch-users] Re: What's the difference bitween 'junk' and 'backup' ?


From: Greek0
Subject: [Gnu-arch-users] Re: What's the difference bitween 'junk' and 'backup' ?
Date: Fri, 23 Apr 2004 10:04:58 +0200

On Fri, 23 Apr 2004 11:30:38 +0900 (JST)
Tez Kamihira <address@hidden> wrote:

> On Thu, 22 Apr 2004 22:03:25 -0400, Aaron Bentley
> <address@hidden> said:
> > 
> > Any better?
> > 
> > Aaron
> 
> OK. I'll change my question.
> 
> If 'junk' and 'backup' groups are handled by tla differently,
> it should be reflected in tla's soure code.
> 
> Take 'precious' for an example.
> 
> At line 23 in ./src/tla/libarch/copy-project-tree.c,
> arch_copy_project_tree() calls arch_source_inventory() with
> boolean 'precious' variable. The result includes all source &
> precious files, but not 'junk' and 'backup' files. So I can
> see the meaning of precious easily.
> 
> In the same meaning, if 'junk' and 'backup' are handled differently,
> The difference should be appeared in tla's source code.
> 
> But even if I grepped in './src/tla/libarch/*' with
> 'arch_inventory_backup' and 'arch_inventory_junk', but I couldn't
> find the actual differences nor find any kind of 'asymmetry' of them.

tla will never, under any circumstances delete backup files. But it can
delete junk files. Currently afaik tla only deletes files that start
with ",," to clean its temporary files in the tree. So if you just have
junk files starting with one "," around in your tree, they won't be
deleted (but don't rely on it, this could possibly change in the
future). 


Cheers,
Greek0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]