bugmonotone - Bugs: bug #20477, mtn gives emacs unix directory...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #20477: mtn gives emacs unix directory separators on windows

Submitter:  Brian Peyton <revision17>
Submitted:  Fri 13 Jul 2007 03:07:36 PM UTC
   
 
Category:  portability Severity:  3 - Normal
Item Group:  incorrect behavior Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
mtn version --full: 

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]

  Spam posted by anonymous
Sun 05 Aug 2007 06:49:20 AM UTC, comment #3: 

The issue here is not that Emacs cannot understand backslashes (it can), but rather that the passed argument gets interpreted as C string and thus the backslashes are lost.

The attached workaround which just doubles the backslashes before Emacs invocation works for me. Of course, it is far from a proper fix.

Cheers,
--
Laurynas

(file #13594)

Laurynas Biveinis <kastauyra>
Fri 13 Jul 2007 03:43:24 PM UTC, comment #2: 

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

Brian Peyton <revision17>
Fri 13 Jul 2007 03:16:15 PM UTC, comment #1: 

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

Nathaniel Smith <njs>
Group Member
Fri 13 Jul 2007 03:07:36 PM UTC, original submission:  

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\")")

Brian Peyton <revision17>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #13594:  monotonerc added by kastauyra (945B - application/octet-stream - monotonerc with workaround for the bug)
file #13330:  emacsError.txt added by revision17 (164B - text/plain - 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.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by kastauyra (Updated the item)
  • -email is unavailable- added by njs (Posted a comment)
  • -email is unavailable- added by revision17 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-08-05 kastauyra Attached File- Added monotonerc, #13594
    2007-07-13 revision17 Attached File- Added emacsError.txt, #13330

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code