Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

File name appendage on Mercurial (TortoiseHg) change #416

Open
@Anthropic

Description

@Anthropic

Prerequisites

Description

Possibly related to #306 based on comments there, when changing branch or reverting a change from Mercurial the files get renamed in the tab, disconnecting them from the filesystem and recognition of file type. This does not occur with another

The annoying part is that even using save-as it doesn't open the same folder where the file was so it takes a while to line them back up again if there are any unsaved changes. I had this happen with over 20 open files and couldn't save any changes.

I am not sure if this is a regression as suggested in #306 or just a bug only partially related.

Steps to Reproduce

  1. Open a file in Atom (from a Mercurial repository)
  2. Make a change in the file and save
  3. Change the file from TortoiseHG Workbench either by
    a. reverting the change
    b. changing the branch to another with the same file

Expected behavior:
The file name in the tab should remain the same like other IDEs.

Actual behavior:
The file name changes with a random appendage of characters, the file type is irrelevant:
atom-error

Reproduces how often: [What percentage of the time does it reproduce?]
100% Every time, even in safe mode.

Versions

Atom : 1.15.0-beta1
Electron: 1.3.13
Chrome : 52.0.2743.82
Node : 6.5.0

apm 1.15.3
npm 3.10.5
node 4.4.5 ia32
python 2.7.2
git 1.7.11.msysgit.1
visual studio 2012

Windows 7 Pro sp 1

@iolsen @ungb

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions