473,395 Members | 2,222 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

rcslib.py doesn't like dot in revision numbers?

[Disclaimer: I'm a python newbie.]

I'm using rcslib.py to massage an RCS repo. The code uses a
"name_rev" object which acts two ways:

1. if it's a string, represents the head version of the file
2. if a tuple (name, rev) represents a name and a revision

Works fine if I use it like:

checkout('myfile.txt')

but if I invoke it with a version like:

checkout('myfile.txt', '1.1')

it complains about a bad character in the revision. The code which
checks this is here:

if c not in self.okchars:
raise ValueError, "bad char in rev"

and the chars that it thinks are OK are defined as:

okchars = string.ascii_letters + string.digits + '-_=+'

These okchars do not include '.' so normal numeric revision numbers
are not accessible.

Am I missing something? I can't find any doc on the library. I'm
using the one from http://www.darkcoding.net/projects/rcslibtext.py
which is newer than the allegedly abandoned under Python's pdist
directory of tools, but these both have the same behavior on this. Is
there some other facility I should be using instead of rcslib, like
rcsclient.py?

Thanks for any pointers.
Jul 22 '05 #1
0 884

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Anders W. Pedersen | last post by:
Hi there! I'm working on a medium-sized .NET web application written in c#. We are using Visual Studio 2003 for development and Visual Source Safe as our code repository. Occasionally, we do a...
1
by: theWizard1 | last post by:
Using Asp.NET 2.0. I published my web application to the server using the publish to website feature of asp.net 2.0. In VS.Net 2005 IDE, on solution explorer, at top level just below solution, I...
2
by: Jim H | last post by:
My AssemblyInfo file has My file version is now 1.0.2594.35196 How do I control this. Where is this stored? What is the difference between build and revision? Thanks in advance, jim
3
by: nautonnier | last post by:
This may have been covered before but I didn't find anything after doing a google search. Does VS.NET 2005 have a way to put build or version numbers within aspx pages? I'm envisioning an...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.