monotone-devel
[Top][All Lists]
Advanced

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

[Monotone-devel] Re: Undo a commit


From: Bruce Stephens
Subject: [Monotone-devel] Re: Undo a commit
Date: Thu, 09 Oct 2008 18:13:34 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Daniel Carrera <address@hidden> writes:

[...]

> So Monotone is expecting me to figure out which files it is not
> tracking and remove those files before it'll update the working
> directory?

Yes, when the update is trying to remove a directory containing such
files.

> I can't have files or directories that monotone does not keep track
> of?

Of course.  monotone is just refusing to remove them.

> The "include/php" directory has an external php library. No sense in
> having that in my monotone database.

True.  On the other hand, how is monotone to know that it's OK to
delete that?

In this case I guess a good way to do it would be to remove (or move
away) certification/, then do "mtn revert certification" to restore
the files that monotone thinks should be there, then do "mtn update".

(GNU Arch had (presumably still has) a more subtle distinction between
tracked files, junk files (that can be freely deleted), precious files
(that are expensive to generate), and maybe other kinds (I forget).
With that kind of configuration a VCS might be able to do the right
thing, but I don't think that aspect of GNU Arch was very popular.)




reply via email to

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