[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] Question on --link and commit/update/replay
From: |
Tom Lord |
Subject: |
Re: [Gnu-arch-users] Question on --link and commit/update/replay |
Date: |
Thu, 1 Jan 2004 15:44:53 -0800 (PST) |
> From: Samuel Tardieu <address@hidden>
> When I get a version with "tla get --link ..." and then change a file,
> how can I have the "tla commit ..." operation replace the changed file
> by a link to the revision library?
> Same questions with update/replay/whatsoever. I can't see anything in
> {arch} indicating that "--link" had been used and should be used
> again. What did I miss?
commit doesn't do that automatically because, currently, it has no
reason to eagerly add the newly committed revision to your revlib.
Merge commands (update/replay/star-merge/sync-tree) don't do that
because they can't know without comparing files when it is safe to
make a link.
I wouldn't at all mind a new command, `relink', that could be run
periodically to replace files with links and I can't think of a good
reason off the top of my head not to consider a --relink option to
`commit' (treating commit specially since it wouldn't have to compare
files).
-t