monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Re: Undo a commit


From: Daniel Carrera
Subject: Re: [Monotone-devel] Re: Undo a commit
Date: Thu, 09 Oct 2008 19:31:44 +0200
User-agent: Thunderbird 2.0.0.17 (Macintosh/20080914)

Ludovic Brenta wrote:
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.

This is easy to do in a workspace: rm -f $(mtn ls unknown)

I wish I had known that command about 10 minutes ago :-)

Thanks, good to know for the future.

It would be even better if I didn't have to delete these files. Just because Monotone is not tracking them doesn't mean that they are not useful. My TODO list, a library, a quick test file, etc. Those are all legitimate reasons to have files that are not tracked.

Over-all I am concerned about the process of un-doing a commit. What I want is a functional equivalent of Monotone acting as if I had not done the commit yet. I don't want it to nuke my files or revert my changes.


Cheers,
Daniel.




reply via email to

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