Jump to content

Daryl

Members
  • Posts

    179
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Daryl

  1. Sure... to figure out what my project is still dependent on. ;)

    Mostly I use it for project maintenance when I'm refactoring and cleaning out dead code. During development I end up with a lot of vis (and classes and libraries to a lesser extent) that I used for preliminary work but have since discarded as the application evolves. I don't want to delete them from the repository or my hard drive unless I'm sure there aren't any lingering dependencies. Right-click, remove from project, check the dependencies folder to see if it showed up there.

    It's really useful when trying to disentangle someone else's code to exact a bit of useful functionality, or when replacing one library with a functionally similar library. (Say... switching from LapDog Message Library v1 to LapDog.Messaging v2.)

    I've also used it in the past when I've had private packages I've deployed using VIPM but haven't created palettes for. I don't really want them to be part of the project, but I do need them to be accessable.

    Wow, thats a great tip!!

  2. When you are "done with" the working copy, yes, you can just delete it from your hard drive using, for example, Windows Explorer. You don't need to tell Subversion anything.

    Note that you can have multiple working copies on your machine.

    In practice, I have a main working copy that I continually update, so I am never "done with" it.... (I do have temporary working copies of some packages occasionally.)

    Paul

    Great, thanks again!

  3. Yes, I think you could delete them. They came from the repository so even if it turns out that there is something you overwrote and is missing in the current version, you could go dig the older version out of the repository.

    At some point if this keeps happening you need to look at what you are doing wrong, because this should never happen with the setup as you describe it. You should be able to do "update" as often as you like, and it should never actually do anything. It wouldn't hurt to do an update right after every commit, but again it shouldn't have any effect. The benefit is that you should find out sooner rather than later if something is screwed up about your setup or your workflow.

    Good luck!

    Ok thank you. I will take a better look at my workflow when I get some time, I just kind of jumped right into Subversion without spending a lot of time studying or thinking about it up front. I just needed a quick solution and thought I would figure it out as I go.

    One other question I have is what do you do with a working copy when you are done with it? Do you just delete it from your hard drive like you would any other (non versioned) file/directory or do you have to do something special so the repository knows whats going on?

  4. That's not right. You only get a conflict if your working copy has changed and the server copy has also changed independently (you or someone else committed a change from a different working copy). If the OP is the only one using the repository, there is something wrong with his workflow.

    Daryl, do you have more than one working copy on your hard drive? There is no limit to the number of identical copies you can check out, and if you change them separately you will end up with conflicts. Can you tell us a bit more about exactly how you are modifying and committing files?

    I have a repository on a network drive that I created at the start of this project. I am the only person who has ever had a working copy, and I only have 1 working copy on my local hard drive. I commit changes on a regular basis and I dont believe I have ever done a "revert" , it is possible I may have done an "update" at one time but I am not sure. I always make sure that I end each day with all changes committed so I can start the next day "all green".

    Currently, everything is up to date in the repository and I will not need to merge, revert, or update so is it ok to delete these merge files?

  5. These files are a product of merge conflict.

    For binary files (which VIs are), you get rid of them in SVN approved way:

    If you have conflicts with binary files, Subversion does not attempt to merge the files itself. The local file remains unchanged (exactly as you last changed it) and you have filename.ext.r* files. If you want to discard your changes and keep the repository version, just use the Revert command. If you want to keep your version and overwrite the repository version, use the Resolved command, then commit your version.

    Br, Mike

    I dont understand why there should be a conflict. I am the only person working on this project so there is only one working copy and I commit my changes pretty regularly. What would cause a conflict?

  6. What are these * .merge-left.r12 type files subversion keeps adding to my projects? What are they for, can I delete them or keep them from being created somehow? These are starting to get annoying.

  7. Lets face it, i'm just not very creative when it comes to creating a nice looking Front Panel. This is something I have always struggled with and I have used an older panel that we did as inspiration for all of my programs but its starting to get old and I need something fresh. I need a new source for inspiration. I have read the Labview Style book and Labiew For Everyone but they have not helped me much (as far as GUI design goes) and I need something new. Does anyone know of a book or a website with a collection of Front Panels or GUI Design in general that can help inspire an uncreative old coot like me?

  8. It's allowed.

    Just state it with a link in case people are answering on one side... you don't want to lose time answering something that might have been covered on another forum.

    It also helps when someone else is looking for the same exact information in the future.

    Ok, that makes sense. Thanks.

  9. A little mathematics will help you on this, you can get the total number of visible rows (12), and you know your current row number (say 55), the you should programatically (how do you spell that?) set the top.row to 49.

    Ton

    Is there a property or something for setting the top row? Maybe I just havent had enough coffee yet

    Nevermind, I just found it :frusty:

  10. I have a program that runs a number of tests automatically. It displays some information about all of the tests "queued" and highlights the row of the test currently executing in a multi-column listbox. There may be 50-60 of these tests listed in rows of the listbox but the listbox only displays maybe 10 or 12 rows at a time (which means the user has to use the scroll bars at some point to see the currently active test). Is there a way to make sure that the test currently being executed is always centered within the listbox so the user does not have to use to scoll bar to find the highlighted row?

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.