Skip to content

Issues in starting off with this plugin #17

@Aster89

Description

@Aster89

Given what's written in README.md, my understanding is that after installing the plugin I'm ready to go.

Unfortunately, I'm facing some issues.

If I open a file which is read-only because it's not in any changelist yet and try to edit it, I am indeed prompted to open it in perforce:

File is read only. Attempt to open in Perforce?

and if answer yes the file is no more read-only, so I can keep changing and writing it. However the file has not been added to any changelist. Indeed, in the p4v client the file is shown in the workspace without the blue-ish color of modified files. Only dragging it to a changelist reveals it is modified.

If I do :P4edit, I get vim-perforce: File not under perforce client's root.

If I do :P4movetocl, the correct list of options is shown in the quickfix window, namely New changelist, default, and all named changelists. However, if I pick any of this choices I get the following

Error detected while processing function perforce#P4ConfirmMoveToChangelist[25]..perforce#P4CallMoveToChangelist[8]..<SNR>55_err:
line    2:
vim-perforce: Unable to move file to Changelist default

where default is a number if I've picked an existing changelist; if I had picked New changelist, a new changelist is created, but then the same error as above happens and the file is not added to the changelist.

Am I missing something obvious?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions