bzr push - files specified not found error

Asked by astewart

I'm a totally newb when it comes to bzr and vcs in general, so this may be obvious to others. I have been able to check out a branch and commit back (and verify that the latest revno), but I run into an issue when I use bzr push. It tells me it cannot find the file specified.

C:\wamp\www\local\trunk>bzr push sftp://<email address hidden>/var
/www/trunk
Connected (version 2.0, client OpenSSH_5.1p1)
SSH <email address hidden> password:
Authentication (password) successful!
Secsh channel 1 opened.
[chan 1] Opened sftp connection (server version 3)
This transport does not update the working tree of: sftp://<email address hidden>/var/www/trunk/. See 'bzr help working-trees' for more information.
running "ssh <email address hidden> bzr update "/var/www/trunk/""
bzr: ERROR: [Error 2] The system cannot find the file specified

I don't understand why it won't push since it is checking out the branch and committing using the same sftp address. Any ideas?

Cheers!

Question information

Language:
English Edit question
Status:
Answered
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
astewart (aaron-stewart) said :
#1

Oh yeah, I'm running Vista.

Revision history for this message
Martin Pool (mbp) said :
#2

Hi astewart,

It's not a great idea to store your repositories as root if you don't have to, just on the principle of minimum privilege. bzr will work that way, but it's safer to make and use a different account. See https://help.ubuntu.com/community/RootSudo

This command doesn't make or create a working tree by default. In recent releases of bzr we'll make a working tree when you run bzr update but that might work if you have an old release on the server.

If this doesn't help can you please:

1- attach ~/.bzr.log from the server to this report
2- run 'ls -lRa /var/www/trunk' and attach that

Note also that if you're hoping to use bzr to push up the web site this way you'll need the bzr-upload plugin.

Revision history for this message
sean (somlor) said :
#3

I was having the same exact issue.

I realized I had installed the bzr_push_and_update plugin locally, but not remotely. I temporarily deleted the plugin, re-ran the push and it worked.

Can you help with this problem?

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

To post a message you must log in.