The leading provider of version control solution and TWAIN SDK
The leading provider of version control solution and TWAIN SDK

Dynamsoft Forums

Support for Version Control, Bug Tracking and Configuration Management Software
* Login   * Register
* FAQ    * Search

It is currently Wed May 16, 2012 6:01 pm




Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: Cannot Get all files in Wildcard Search Result
PostPosted: Tue Sep 28, 2010 2:52 am 
Offline

Joined: Thu Sep 02, 2010 3:58 am
Posts: 15
Hi,

I have a few problems working with SAW 6 Standalone Client:

Problem A
-----------
When I do a Wildcard Search in the current project and all sub-projects and then select more items in the Search Results dialog, the Get button is disabled. If I select only one item or only the first two items (which happen to be in the same sub-project), it is enabled. I couldn't find any documentation about why it behaves this way. The local help file for the Search Results dialog says that the Get button "Gets latest version of the selected item(s)", and nothing else.
I believe this is the same for the Status Search Results...

Problem B
-----------
For the "Get Latest Version..." command (these may be just lack of documentation):
1) With "Replace writable" set to "Replace", it doesn't work as expected: It doesn't replace files which are writable if the local copy was edited, as I would expect it to. The workaround would be to use the "Ask" option and then choose to "replace local copy" and "apply to all files", but then what's the point of having the "Replace" funciton?
2) With "Make writable" unchecked, existing files are not marked read-only, even if they weren't edited (again, as I would expect it to).

These problems basically make the Wildcard and Status Search functions useless from my point of view.

Problem C
-----------
Also, I wonder if it is too much trouble to make a few feature requests:
1) Is it possible to add a Search for "Renegade", "Old" or "Missing" files functionality to the Status Search like the existing one for "Checked Out" and "Edited" files?
2) Is it possible to change the order of sorting files by the Status column so that files with a status other than "Normal" show up before the "Normal" ones?

I know all of the problems I mentioned are actually feature requests from your point of view, but it's a pity not to have such basic (yet useful) functionality.

Thanks!


Top
 Profile  
 
 Post subject: Re: Cannot Get all files in Wildcard Search Result
PostPosted: Tue Sep 28, 2010 5:23 am 
Offline

Joined: Thu Sep 02, 2010 3:58 am
Posts: 15
The command-line parameter -replace for the GetFile command doesn't seem to work either. Neither does -ask, I think...


Top
 Profile  
 
 Post subject: Re: Cannot Get all files in Wildcard Search Result
PostPosted: Tue Sep 28, 2010 5:34 am 
Offline

Joined: Thu Sep 02, 2010 3:58 am
Posts: 15
With Problem B, point 2) above, I noticed that "Get Latest" on a single file sets the read-only attribute correctly. only "Get Latest" on a project doesn't set it.


Top
 Profile  
 
 Post subject: Re: Cannot Get all files in Wildcard Search Result
PostPosted: Wed Sep 29, 2010 2:14 am 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1489
Hello,

For your questions:

A) Yes. SourceAnywhere for VSS doesn't support performing "Get" operations on files from differenct directories in the Wildcard Search Result Dialog Box. Our development team is planning to add this feature in the next release.

In the Status Search Results Dialog Box, SourceAnywhere for VSS 6.0 supports performing Check In/Undo Check Out/ Get Latest Version operations on multi-files from different directories.

B) I cannot reproduce the issue on my side. Would you please provide me with the following information?

1. What operating system are you using?
2. Did you ever encounter the issue with SourceAnywhere for VSS 5.x?
3. Detailed steps to reproduce the issue. If it is possible, can you send us a video on how to reproduce the issue?
4. Did any of your co-workers encounter the same issue?

Also, shall we have a online meeting so that we look into the issue more closely? You can contact our support team via LiveHelp first:
www.dynamsoft.com/support/livehelp.aspx

C) Currently, our development team doesn't have a plan to add the search file status feature. I have added your suggestion to our feature list for future consideration.

For the 2nd question, actually, you can just click on the "Status" tab in the file list to achieve it.

Please keep me updated on problem B.

Thanks.

_________________
Catherine Sea
Dynamsoft Support Team
Dynamsoft - The leading provider of version control solution and TWAIN SDK
Source Control Software | Software Configuration Management | SCM Solution | Issue Tracking
SourceSafe (VSS) Remote/Web/Internet Access | SourceSafe (VSS) Replacement/Alternative | SourceSafe (VSS) Hosting|TFS Hosting

Follow me @Twitter, Facebook
Image


Top
 Profile  
 
 Post subject: Re: Cannot Get all files in Wildcard Search Result
PostPosted: Thu Sep 30, 2010 12:12 am 
Offline

Joined: Thu Sep 02, 2010 3:58 am
Posts: 15
Hi,

The issues I mentioned are actually just attempts at what I really need to do:
I need to checkin all renegade files in a project and it's sub-projects - ALL AT ONCE. This is all that I want to do... I know they'd have to be checked out first, but how do I find them all so I can check them out?

I've also tried using the project diff tool, but there I get a diff list which has lines for all projects and the different files in each project. To check out only the modified files (without the projects), I have to click-select only the files in that list, and there are more than 200 of them in different projects, plus some 300 projects to sort out of the selection. I'll be here for a year if I have to do this...

Is there any way at all to do what I want in less than a year? (Please don't say No :) ).

BTW, I didn't know you could checkout a project - what's the point of that? What does it do? Does it checkout all files in that project or something?

For C) 2nd question: I know I can click the tab to reverse the sort order, but this is not what I was saying. The problem is that statuses are sorted alphabetically by name: Edited, Missing, Normal, Old, Renegade (or in reverse if I click the tab). IMO, this is not a good sorting order, since the Normal files are of least importance, while Old and Renegade are important because of the changes they contain, but they're placed last?

Thanks


Top
 Profile  
 
 Post subject: Re: Cannot Get all files in Wildcard Search Result
PostPosted: Thu Sep 30, 2010 4:01 pm 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1489
Currently, SourceAnywhere for VSS doesn't support checking in/out all renegade files. As a workaround, you can sort the files by status, multi-select the renegade files and do Check In/Check Out afterwards.

Also, to avoid the inconvenience in future and ensure that you don't lose any of your modification, I recommend you check out the file, and check it in right after editing. If you edit files in IDE, such as Visual Studio, you can integrate SourceAnywhere for VSS with the IDE. This way, files/projects in SourceAnywhere are always the latest version.

Quote:
BTW, I didn't know you could checkout a project - what's the point of that? What does it do? Does it checkout all files in that project or something?

Yes. All file under the project will be checked out by checking out the project (Recursive is also allowed.).
http://www.dynamsoft.com/help/SAW/CO_Check%20Out.htm

This is also a convenient way to update your server files if all your local files in a project are the latest.

Quote:
since the Normal files are of least importance, while Old and Renegade are important because of the changes they contain, but they're placed last?

Personally, I think this is a reasonable feature request. :) However, as you may know (and hope you can understand), the importance level of each file status varies from different customers. If you have any good suggestions to implement this feature, I will surely forward them to our developers.

Thanks.

_________________
Catherine Sea
Dynamsoft Support Team
Dynamsoft - The leading provider of version control solution and TWAIN SDK
Source Control Software | Software Configuration Management | SCM Solution | Issue Tracking
SourceSafe (VSS) Remote/Web/Internet Access | SourceSafe (VSS) Replacement/Alternative | SourceSafe (VSS) Hosting|TFS Hosting

Follow me @Twitter, Facebook
Image


Top
 Profile  
 
 Post subject: Re: Cannot Get all files in Wildcard Search Result
PostPosted: Mon Oct 04, 2010 12:13 am 
Offline

Joined: Thu Sep 02, 2010 3:58 am
Posts: 15
Catherine wrote:
Currently, SourceAnywhere for VSS doesn't support checking in/out all renegade files. As a workaround, you can sort the files by status, multi-select the renegade files and do Check In/Check Out afterwards.


The workaround you provide is only useful if the Renegade files are in the same project and least useful when you have 200 Renegade files scattered through 200-300 projects - one or two files per project, like I mentioned.
I ended up using the diff tool to do this and had to select each item I wanted to checkin in the diff list, but it wasn't very comfortable, it took me a while, and I'm not sure if I haven't missed checking in anything.

Catherine wrote:
Personally, I think this is a reasonable feature request. :) However, as you may know (and hope you can understand), the importance level of each file status varies from different customers. If you have any good suggestions to implement this feature, I will surely forward them to our developers.

First, I only think that any kind of modification - server side or client side - should be placed at the top of the list, and the unchanged ("Normal") ones should be placed last.
Second, I think among the "changed" statuses, files edited ("Checked out" & "Renegade") locally by the current user should always be placed in the list before the server-side changed files ("Missing" & "Old").

So, with the default sort order (no need to click the header column), I think the order of the statuses, from top to bottom, should be:
"Edited"
"Needs Merge"
"Renegade"
"Old"
"Missing"
"Normal"


Thanks!


Top
 Profile  
 
 Post subject: Re: Cannot Get all files in Wildcard Search Result
PostPosted: Mon Oct 04, 2010 4:20 pm 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1489
Hi,

I will forward your information to our developers and keep you posted once we get a better solution.

Thanks.

_________________
Catherine Sea
Dynamsoft Support Team
Dynamsoft - The leading provider of version control solution and TWAIN SDK
Source Control Software | Software Configuration Management | SCM Solution | Issue Tracking
SourceSafe (VSS) Remote/Web/Internet Access | SourceSafe (VSS) Replacement/Alternative | SourceSafe (VSS) Hosting|TFS Hosting

Follow me @Twitter, Facebook
Image


Top
 Profile  
 
 Post subject: Re: Cannot Get all files in Wildcard Search Result
PostPosted: Wed Oct 06, 2010 4:06 am 
Offline

Joined: Thu Sep 02, 2010 3:58 am
Posts: 15
Thanks,

Now about problem B):
In addition to the previous problems (you said you couldn't reproduce them), I've also noticed lately that when I just do a Get Latest with the "Recursive", "Build tree" and "Make writable options", it won't get me the latest versions of Old files. I used "Replace local file" and "Apply to all" when it asked whether I wanted to replace local writable files...

The problems I mentioned previously weren't important anymore, so I didn't mention them again, but this one seems severe to me...

So the behavior of the "Make writable" option in the "Get Latest" dialog seems to be:
- if it is on, then the latest versions *ONLY* for Renegade files will be gotten (the Old files are ignored, even if they are writable)
- if it is off, then only the read-only files in the working folder will be updated

Now, the weird thing is that IF I do a "Wildcard Search" with the "Search in current project and all subprojects" and "Refresh file lists(Synchronize with server) before searching" options enabled, and *THEN* do the "Get Latest" with "Make Writable" and "Replace all" enabled, it correctly gets the latest versions of Old files.

I will also say that the reason you couldn't reproduce it is probably because you were looking for the results of the test in the current project (not in subprojects, where I noticed the problems). The current project is probably always refreshed (since the statuses of the files are shown in the file list pane), but the subprojects don't seem to get refreshed during the "Get Latest" (or not all statuses are refreshed - only a subset of them seems to be refreshed based on whether "Make Writable" is checked, like I mentioned before).


Top
 Profile  
 
 Post subject: Re: Cannot Get all files in Wildcard Search Result
PostPosted: Wed Oct 06, 2010 3:32 pm 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1489
Hi,

Would you please let me know how you set the working folders for your project and subprojects? Did you set the working folders separately for your subprojects, or are they inherited from the parent project?

Please note that, with the "Build tree" option checked, it will override the working folder set for the subprojects involved in a recursive operation, and build a project tree on your local computer that mirrors the project organization. Working folder settings for individual subprojects are ignored. If the "Build tree" option is not checked, the projects will be got to the working folder set in Client. Please make sure that you were checking the files in the right folder.

Quote:
Now, the weird thing is that IF I do a "Wildcard Search" with the "Search in current project and all subprojects" and "Refresh file lists(Synchronize with server) before searching" options enabled, and *THEN* do the "Get Latest" with "Make Writable" and "Replace all" enabled, it correctly gets the latest versions of Old files.

Did you perform Get Latest in "Wildcard Search"? If yes, "Build tree" is not adopted in this case. In another word, projects will be got to the working folder by default.

If you like, you can contact our support team via LiveHelp to have an online meeting.
http://www.dynamsoft.com/support/livehelp.aspx

Thanks.

_________________
Catherine Sea
Dynamsoft Support Team
Dynamsoft - The leading provider of version control solution and TWAIN SDK
Source Control Software | Software Configuration Management | SCM Solution | Issue Tracking
SourceSafe (VSS) Remote/Web/Internet Access | SourceSafe (VSS) Replacement/Alternative | SourceSafe (VSS) Hosting|TFS Hosting

Follow me @Twitter, Facebook
Image


Top
 Profile  
 
 Post subject: Re: Cannot Get all files in Wildcard Search Result
PostPosted: Mon Oct 11, 2010 1:38 am 
Offline

Joined: Thu Sep 02, 2010 3:58 am
Posts: 15
Hi,

The first time (before Wildcard Search), I performed the "Get Latest" from the context menu of the project (where "Build Tree" is available), and I always use "Build Tree" (even though I have all of my projects' working folder setup to inherit recursively from the root /$ project). After this, I checked a sub-project of the project I did the Get Latest on, and there were still Old files there. I did the Get Latest again on the parent proejct, then checked the same sub-project again, and the Old files were still there (IIRC, I also refreshed the sub-project list to see if they were indeed "Old" files).

I only mentioned the "Wildcard Search" because it has the "Refresh Projects" option, which seems to do the trick. I did not "Get Latest" from the "Wildcard Search Results" the second time, but also from the context menu.

That's why I assumed that the file lists for sub-projects are not being refreshed correctly (you have to do a Search with "Refresh project lists" enabled in order to have them refreshed).

Also keep in mind that the "writable" status of local files might have something to do with it. I always use "Make writable" with "Get Latest" (I don't like having read-only files when I want to change them without checking them out first).

It seems the only scenario where everything goes according to plan with SAW is when you check out any files you want to modify prior to modifying them (and NOT use the "Make Writable" option - i.e., it works ok only when you use the default options).

All of this happened while I was using the "Make writable" option enabled in the "Get Latest" dialog box.
With that option disabled, I noticed that Renegade files weren't updated to the latest version (Problem B) in first post).

I'll try this again as soon as I see some Old files in our server...


Top
 Profile  
 
 Post subject: Re: Cannot Get all files in Wildcard Search Result
PostPosted: Tue Oct 12, 2010 12:55 am 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1489
Hi,

Would you please do as the following steps? Let's suppose a project with the following structure:

Parent_Project

SubProject_A
file1 (with status "old")
file2 (with status "Renegade")
......

1. Right click on Parent_Project and choose "Get Latest version".
2. In the coming dialog box, check "Recursive" and "Make Writable". Please uncheck "Build Tree(override working folder)", and set "Replace Writable" as "Replace". Then Click "OK".
3. Check the file status in the Subproject_A.

Please let me know if the all file status updated to "Normal".

Thanks.

_________________
Catherine Sea
Dynamsoft Support Team
Dynamsoft - The leading provider of version control solution and TWAIN SDK
Source Control Software | Software Configuration Management | SCM Solution | Issue Tracking
SourceSafe (VSS) Remote/Web/Internet Access | SourceSafe (VSS) Replacement/Alternative | SourceSafe (VSS) Hosting|TFS Hosting

Follow me @Twitter, Facebook
Image


Top
 Profile  
 
 Post subject: Re: Cannot Get all files in Wildcard Search Result
PostPosted: Mon Oct 18, 2010 11:45 pm 
Offline

Joined: Thu Sep 02, 2010 3:58 am
Posts: 15
Hi,

Sorry about the late reply. The test you proposed works like you mentioned: Both Renegade and Old files were got from the server and set to Normal status. Also, both of the files i made Old and Renegade were writable when I performed the test. In my previous posts I mentioned that the read-only attribute of the local files might have something to do with all this, but I re-tested by making some of the local files read-only and couldn't reproduce it anymore: with "Make Writable" enabled, their read-only attribute was removed and they were updated to the latest version.

I'm not sure what happened the last time... I just did "Get Latest" a couple of times and I could still see Old files in some sub-projects. I had not manually set the read-only attribute on any of those files. All I can say is that "Get Latest" didn't get those Old files until I did the first "Wildcard Search".

I should also mention that we're using a cache server here (not the main VSS server), and that up until recently, the size of the disk cache was set to 0 (only the memory cache was being used).

Anyway, since I don't get the odd behavior anymore, I consider this problem solved. Thanks for the help!


Top
 Profile  
 
 Post subject: Re: Cannot Get all files in Wildcard Search Result
PostPosted: Wed Oct 20, 2010 3:03 am 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1489
Thanks for the update. Let me know if you need any further help in future.

_________________
Catherine Sea
Dynamsoft Support Team
Dynamsoft - The leading provider of version control solution and TWAIN SDK
Source Control Software | Software Configuration Management | SCM Solution | Issue Tracking
SourceSafe (VSS) Remote/Web/Internet Access | SourceSafe (VSS) Replacement/Alternative | SourceSafe (VSS) Hosting|TFS Hosting

Follow me @Twitter, Facebook
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

It is currently Wed May 16, 2012 6:01 pm


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

Copyright © 2010 Dynamsoft Corporation. All Rights Reserved. | Knowledge Base | Source Control Blog