Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-7341

Make mongorestore on Windows agnostic about directory separators (slash and backslash)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: Tools
    • Labels:
    • Environment:
      Windows
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      Windows

      Description

      The change to Boost::filesystem v3 causes mongorestore on Windows to see backslash directory separators instead of forward slashes. The most flexible fix is to process slash and backslash as equivalent so that mongorestore does the right thing with either separator or even a mix. It is possible that other tools would benefit from a similar change, but this ticket is just for mongorestore.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              schwerin Andy Schwerin
              Reporter:
              tad Tad Marshall
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: