How do I unversion a file?

Asked by Greg

How do I unversion a file?

I do this quite frequently when not paying attention... I accidentally add a file to version control then realize it is a dynamic file that should not have been versioned.

My current work around looks like:

1) Copy the file (using OS)
2) Revert the file (if modified, using BZR Explorer)
3) Delete the file (using BZR Explorer)
4) Commit (using BZR Explorer)
5) Rename copied file (using OS)
6) Set ignore that file (using BZR Explorer, will always be an extra step)

So quite a lot of work for an Oops!

I am not familiar with BZR commands to know how to unversion without deleting the file. Perhaps 'bzr rm --keep filename' might work? Whichever way I will be most pleased to not have to learn commands.

Question information

Language:
English Edit question
Status:
Answered
For:
Bazaar Explorer Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Greg (gregspecialsource) said :
#1

I have been unable to find any UI supporting the 'remove' command, so converted to Bug #435820.

Revision history for this message
Irongut (irongut) said :
#2

There's no GUI in Explorer for this atm but you can use Tools, Advanced Commands and then at the command line use 'bzr rm --keep filename' as you guessed.

Can you help with this problem?

Provide an answer of your own, or ask Greg for more information if necessary.

To post a message you must log in.