removing a remote (stand alone) branch

Asked by Timmie

Hello,
I pushed some working copy to a remote site (FTP).
Since it was the wrong URL I would like to delete it from there again. In the FTP client I cannot see any files in the directory on FTP server. When deleting from inside the FTP client it gives me the error that the directory is not empty and tehrefore doesn't delete.
Then I tried with bzr:
bzr remove-tree ftp://user:<email address hidden>/path/branch

now it gives the error:
bzr: ERROR: No working tree to remove

getting more info:
bzr info ftp://user:<email address hidden>/path/branch
Standalone branch (format: pack-0.92)
Location:
  branch root: ftp://<email address hidden>/path/branch

How can I get rid of the branch directory (server.de/path/branch) on the FTP server?

How do I also delete a branch contained in a shared repository on the FTP server?

bzr info ftp://user:<email address hidden>/repo/branch
Repository branch (format: pack-0.92)
Location:
  shared repository: ftp://<email address hidden>/repo/
  repository branch: ftp://<email address hidden>/repo/branch

bzr remove-tree ftp://user:<email address hidden>/repo/branch
bzr: ERROR: No working tree to remove

Thanks in advance and kind regards,
Tim

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Solved by:
Benjamin Rister
Solved:
Last query:
Last reply:
Revision history for this message
Best Benjamin Rister (bdrister) said :
#1

Hi Tim,

Your FTP client is probably hiding the .bzr directory because it begins with a '.', the unix convention indicating to hide the file from normal directory listings. Try configuring your FTP client to show invisible items, delete the .bzr directory, and then it should be willing to delete the outer directory.

Ben

Revision history for this message
Timmie (timmie) said :
#2

Using gFTP on Ubuntu instead of Filezilla or Totalcommander on Windows solved my issue because I could see the hidden files.

Maybe the windows clients have also a setting to enable the visualisation of hidden files but is couldn't find it.

Thanks for your input.