bzr update on missing file does nothing. svn update brings back file.
Bug #191466 reported by
illume
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Low
|
John C Barstow |
Bug Description
hello,
If there is a file that is version controlled, then I delete it (say with rm on linux), then I want to get the version controlled version back.
bzr update missing_file does nothing.
Whereas I'm used to using svn, where update missing_file brings back file.
I think bzr update returning missing files makes sense, and is commonly used by svn people.
cheers,
Related branches
lp:~jbowtie/bzr/doc-bzr-update-191466
- John A Meinel: Approve
-
Diff: 13 lines (+3/-0)1 file modifiedbzrlib/builtins.py (+3/-0)
Changed in bzr: | |
assignee: | nobody → John C Barstow (jbowtie) |
Changed in bzr: | |
milestone: | none → 2.3b1 |
status: | Confirmed → Fix Released |
To post a comment you must log in.
Did you try "bzr revert missing_file"? I believe "svn revert missing_file" also works when using Subversion, so I'd expect svn people to know to try that.
"bzr update" doesn't operate on single files. It applies any missing changes from the branch to your working tree, while preserving as much as possible any changes you've made locally.
I think "bzr update missing_file" could give a less misleading message, but the behaviour is by design. Probably this bug should be marked invalid.