When I pull down a bzr branch using
bzr branch lp:ubuntu/<package name>
I get one set of source files. However, when i go
apt-get source <package name>
I get another. The command
debuild
will not work on the first, but it will on the second, and this is the recommended way of building packages from source on Ubuntu, and I think Debian as well (see this question).
If I want to submit a patch to Ubuntu, the easiest way is us bzr to branch
the code and then push
it back out once I'm done, something that obviously won't work with the apt-get source
method since the list of downloaded files are different.
How am I supposed to pull source code down, test a patch, then push it back out? Right now, it seems like I have to test the changes using the apt-get source
method before pulling down a branch with bar branch
and completely redoing the changes there.