Skip to content

fuse error #231

Open
goldstar611/gitless
#18
@jimalad

Description

@jimalad

I'm trying to use fuse to bring the baseline of my PR branch up to date with HEAD of master.

gl switch MyPullRequestBranch
gl fuse origin/master
git mergetool filename (to fix a conflict)
gl status (looks clean with some deletes, adds and changes)
gl commit

And I get this error...

 Some internal error occurred
   If you want to help, see http://gitless.com for info on how to report bugs and include the following information:

  0.8.8

  Traceback (most recent call last):
    File "c:\users\user\appdata\local\programs\python\python27-32\lib\site-packages\gitless\cli\gl.py", line 99, in main
      return SUCCESS if args.func(args, repo) else ERRORS_FOUND
    File "c:\users\user\appdata\local\programs\python\python27-32\lib\site-packages\gitless\cli\gl_commit.py", line 67, in main
      ci = curr_b.create_commit(commit_files, msg, partials=partials)
    File "c:\users\user\appdata\local\programs\python\python27-32\lib\site-packages\gitless\core.py", line 1250, in create_commit
      msg, get_tree_and_update_index(),  # the commit tree
    File "c:\users\user\appdata\local\programs\python\python27-32\lib\site-packages\gitless\core.py", line 1222, in get_tree_and_update_index
      update()
    File "c:\users\user\appdata\local\programs\python\python27-32\lib\site-packages\gitless\core.py", line 1215, in update
      index.remove(git_f)
    File "c:\users\user\appdata\local\programs\python\python27-32\lib\site-packages\pygit2\index.py", line 175, in remove
      check_error(err, True)
    File "c:\users\user\appdata\local\programs\python\python27-32\lib\site-packages\pygit2\errors.py", line 53, in check_error
      raise IOError(message)
  IOError: index does not contain Source/SomeDirectory/AssemblyInfo.cs at stage 0

I can see that the file it's complaining about 'Source/SomeDirectory/AssemblyInfo.cs' has been deleted as part of the latest commit on the PR branch.

Is there a workaround I can use with just git commands to complete the fuse?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions