[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
support.
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.
Jason
- bzr handholding: restoring deleted file, Glenn Morris, 2010/01/07
- Re: bzr handholding: restoring deleted file, Dan Nicolaescu, 2010/01/07
- Message not available
- Re: bzr handholding: restoring deleted file, Glenn Morris, 2010/01/07
- Re: bzr handholding: restoring deleted file, Eli Zaretskii, 2010/01/08
- Re: bzr handholding: restoring deleted file, Juanma Barranquero, 2010/01/08
- Re: bzr handholding: restoring deleted file, Eli Zaretskii, 2010/01/08
- Re: bzr handholding: restoring deleted file, Juanma Barranquero, 2010/01/08
- Re: bzr handholding: restoring deleted file, Stefan Monnier, 2010/01/08
- Re: bzr handholding: restoring deleted file, Eli Zaretskii, 2010/01/08
- Re: bzr handholding: restoring deleted file, Glenn Morris, 2010/01/08