Updated Issue 66 - mtn gives emacs unix directory separators on windows (monotone)

[email protected]
Newsgroups gmane.comp.version-control.monotone.devel
Message-ID <[email protected]>
Hello,

The following issue has been updated:

66 - mtn gives emacs unix directory separators on windows
Project: monotone
Status: Fixed
Reported by: Unknown User
URL: https://code.monotone.ca/p/monotone/issues/66/
Labels:
 Type:Incorrect Behavior
 Component:Portability
 Priority:Medium

Comments (last first):

# By Stephen Leake, Sep  3, 2012:

Note that in the error message in emacsError.txt there are _no_ directory separators, so the title of this issue is misleading.

The problem is that the Windows directory separator `\` is an escape in elisp string syntax, so Emacs drops it from the string. The fix is to convert those to Unix directory separators.

fixed in ef39de24..  9/6/2007

 Status: Fixed

# By Unknown User, Aug  5, 2007:

added attachment monotonerc

Attachments:
- monotonerc - 945 bytes
  https://code.monotone.ca/p/monotone/issues/view/attachment/8/monotonerc


# By Unknown User, Jul 13, 2007:

Ooops again, I didn't see the post a comment thing.

Well emacs gives the error in the attached text file (forgot to include it when I submitted the bug), and then doesn't want to proceed with the merge

# By Unknown User, Jul 13, 2007:

added attachment emacsError.txt

Attachments:
- emacsError.txt - 164 bytes
  https://code.monotone.ca/p/monotone/issues/view/attachment/7/emacsError.txt


# By Unknown User, Jul 13, 2007:

Is this a problem?  On DOS and Win32, \ and / are both directory separators, basically interchangeable.

# By Unknown User, Jul 13, 2007:

(This entry was imported from the savannah tracker, original location: https://savannah.nongnu.org/bugs/index.php?20477)

When attempting a 3 way merge, monotone gives emacs paths with unix style directory separators:

("C:\\Program Files\\emacs\\emacs-22.1\\bin\\emacs.exe" "--eval" "(ediff-merge-files-with-ancestor \"C:\\DOCUME~1\\brian\\LOCALS~1\\Temp/mtn.left.DPG2JV\" \"C:\\DOCUME~1\\brian\\LOCALS~1\\Temp/mtn.right.UGE0ZU\" \"C:\\DOCUME~1\\brian\\LOCALS~1\\Temp/mtn.ancestor.KQMJR0\" nil \"C:\\DOCUME~1\\brian\\LOCALS~1\\Temp/mtn.merged.WK8A02\")")

monotone version:
-----------------
monotone 0.35 (base revision: f92dd754bf5c1e6eddc9c462b8d68691cfeb7f8b)
Running on          : Windows NT/2000/XP/2003 (5.1, build 2600, Service Pack 2)
on ia32 (level 15, rev 12034)
C++ compiler        : GNU C++ version 3.4.2 (mingw-special)
C++ standard library: GNU libstdc++ version 20040907
Boost version       : 1_33_1
Changes since base revision:
format_version "1"

new_manifest [33fa9f84dee6ec2e1bde81b607a067befbe2fc3e]

old_revision [f92dd754bf5c1e6eddc9c462b8d68691cfeb7f8b]

patch "Makefile.am"
 from [ecc00e0b8e9b5350157a1922e430ade4508d31bd]
   to [a52adc6a23a4bedf2d636a6c3e91cd46ce900a35]



--
Issue: https://code.monotone.ca/p/monotone/issues/66/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.