[Top][All Lists]

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

Re: bzr handholding: restoring deleted file

From: Jason Earl
Subject: Re: bzr handholding: restoring deleted file
Date: Thu, 07 Jan 2010 18:11:25 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux)

Dan Nicolaescu <address@hidden> writes:

> Glenn Morris <address@hidden> writes:
>   > I made a branch with `bzr branch http://...'.
>   > 
>   > Then I did `rm configure'.
>   > 
>   > How do I get the damn file back again, like `cvs update' would do?
>   > 
>   > `bzr update' chirpily says `Tree is up to date'.
>   > `bzr pull' thinks a bit, then says `No revision to pull'.
>   > `bzr merge' fails due to uncommitted changes.
> C-x v d RET
> it should show the file as missing.  
> Put the cursor on it.
> C-x v u RET
> and you get it back.

Thanks for this, I really need to learn to use Emacs built in bzr

Alternatively you can always type:

bzr revert

to get all of your changes undone.  Or:

bzr revert foo

to revert just "foo"

"bzr help revert" is quite helpful.  What's more it covers how to use
merge to remove changes made by a certain revision.  I had no idea how
that worked.


reply via email to

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