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

 
 

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

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

Submitted by:  Brian Peyton <revision17>
Submitted on:  Fri 13 Jul 2007 03:07:36 PM UTC  
 
Category: portabilitySeverity: 3 - Normal
Item Group: incorrect behaviorStatus: None
Privacy: PublicAssigned 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 an 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>
Project 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>

 

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
  • -unavailable- added by kastauyra (Updated the item)
  • -unavailable- added by njs (Posted a comment)
  • -unavailable- added by revision17 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 05 Aug 2007 06:49:20 AM UTCkastauyraAttached File-=>Added monotonerc, #13594
    Fri 13 Jul 2007 03:41:53 PM UTCrevision17Attached File-=>Added emacsError.txt, #13330

    Back to the top


    Powered by Savane 3.1-cleanup