Giter Club home page Giter Club logo

Comments (4)

ddliu avatar ddliu commented on September 27, 2024

Please confirm that the target folder exist: /Users/silvia/WebstormProjects/miracle/src/LoggingServer/testLogs/

from node-svn-spawn.

tampeta avatar tampeta commented on September 27, 2024

The folder does exist. It has the log files which are created every day, but they are not under version control. So I need to first add all the files to svn and then commit the folder. I guess it would be something like the addLocal but only for the particular testLogs folder. Is that possible?

from node-svn-spawn.

ddliu avatar ddliu commented on September 27, 2024

Wildcard is not supported.

You can either specify all files you want to add:

var files = get_file_list(); // ['log/1.log', 'log/2.log', 'log/3.log']
client.add(files, function(err, data) {
    // done
});

or just force add the parent folder:

client.add(['log/', '--force'], function(err, data) {
});

We have to use --force option here so that we can repeatedly add the same folder.

from node-svn-spawn.

tampeta avatar tampeta commented on September 27, 2024

Thank you so much! The force option works like a charm :) . I had seen it already as a command line instruction but didn't know how to pass it as argument to the add function. Thanks a lot again for everything :)

from node-svn-spawn.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.