Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

So say I have file.py that I want to split into file1.py and file2.py.

What is the correct way to do this? Would it be to use the following?

bzr copy file.py file1.py
bzr copy file.py file2.py
bzr rm file.py
share|improve this question

1 Answer 1

up vote 3 down vote accepted

Currently this isn't possible. This bug is reported here.

Until then this is the only way (though you'll lose history for file2.py):

bzr mv file file1.py
cp file1.py file2.py
bzr add file2.py
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.